mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +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
|
||||
{
|
||||
foreach ($this->jobs as $job) {
|
||||
$job->run();
|
||||
if ($job->getKey() === $forceJob) {
|
||||
$job->run();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user