Doc: [cronjob manager] Doc for implementing cronjob

This commit is contained in:
2022-12-12 22:48:57 +01:00
parent 17461aa21e
commit 0bfb5c617e
5 changed files with 141 additions and 7 deletions

View File

@@ -13,5 +13,11 @@ namespace Chill\MainBundle\Cron;
interface CronManagerInterface
{
/**
* Execute one job, with a given priority, or the given job (identified by his key)
*
* @param string|null $forceJob
* @return void
*/
public function run(?string $forceJob = null): void;
}