]> _ Git - fluidbook-toolbox.git/commitdiff
wip #5851
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 7 Apr 2023 10:01:01 +0000 (12:01 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 7 Apr 2023 10:01:01 +0000 (12:01 +0200)
app/Console/Kernel.php

index 8176b37675de2ed0c813dfd0df43cf756d02035c..e3f1e496ea6e8c3e7f528df44fcbe961f12c7dc0 100644 (file)
@@ -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');