From: Vincent Vanwaelscappel Date: Fri, 7 Apr 2023 10:01:01 +0000 (+0200) Subject: wip #5851 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=1a526fc6746eb375b279e606aab0b2987e88c896;p=fluidbook-toolbox.git wip #5851 --- diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index 8176b3767..e3f1e496e 100644 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -29,7 +29,7 @@ class Kernel extends \Cubist\Backpack\Console\Kernel // $schedule->command('backup:clean')->daily()->at('04:00'); // $schedule->command('backup:run')->daily()->at('05:00'); - if (config('env') !== 'production') { + if (config('env') === 'production') { $schedule->command('job:dispatchNow Maintenance\\\\CleanDownloads')->dailyAt('4:00'); $schedule->command('job:dispatchNow Maintenance\\\\CleanFTP')->dailyAt('4:30'); $schedule->command('ws:migrate --publications=v2 --documents=missing')->dailyAt('1:00');