mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 20:40:49 +08:00
improve cleanup schedule
This commit is contained in:
@@ -61,7 +61,7 @@ class Kernel extends ConsoleKernel
|
||||
$interval = 7200;
|
||||
}
|
||||
$schedule->job(new CheckCleanup())
|
||||
->cron(sprintf("*/%d * * * *", intval($interval/60)))
|
||||
->cron(sprintf("*/%d * * * *", ceil($interval/60)))
|
||||
->withoutOverlapping();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user