mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-27 09:05:01 +00:00
Fixed: [cronjob manager] Fix execution of one single job
This commit is contained in:
@@ -153,7 +153,9 @@ class CronManager implements CronManagerInterface
|
|||||||
private function runForce(string $forceJob): void
|
private function runForce(string $forceJob): void
|
||||||
{
|
{
|
||||||
foreach ($this->jobs as $job) {
|
foreach ($this->jobs as $job) {
|
||||||
|
if ($job->getKey() === $forceJob) {
|
||||||
$job->run();
|
$job->run();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user