This commit is contained in:
Andras Bacsai committed 2023-07-14 11:33:08 +02:00
1 parent c6b6e841b6
commit a96fb46296
4 files changed
+295 -282

No files matched your search

+3 -2
View File
@@ -16,11 +16,12 @@ class Kernel extends ConsoleKernel
{
if (isDev()) {
$schedule->command('horizon:snapshot')->everyMinute();
$schedule->job(new CheckResaleLicenseJob)->everyMinute();
$schedule->job(new DockerCleanupJob)->everyOddHour();
// $schedule->job(new CheckResaleLicenseJob)->hourly();
// $schedule->job(new DockerCleanupJob)->everyOddHour();
// $schedule->job(new InstanceAutoUpdateJob(true))->everyMinute();
} else {
$schedule->command('horizon:snapshot')->everyFiveMinutes();
$schedule->job(new CheckResaleLicenseJob)->hourly();
$schedule->job(new ProxyCheckJob)->everyFiveMinutes();
$schedule->job(new DockerCleanupJob)->everyTenMinutes();
$schedule->job(new InstanceAutoUpdateJob)->everyTenMinutes();