This commit is contained in:
paoloar77
2024-05-16 22:32:15 +02:00
parent 5ab0793d98
commit caec2d70f5

View File

@@ -25,13 +25,13 @@ class Kernel extends ConsoleKernel
protected function schedule(Schedule $schedule)
{
// $schedule->command('inspire')->hourly();
$schedule->command('/usr/bin/php8.0 backup:clean')->daily()->at('02:00');
$schedule->command('/usr/bin/php8.0 backup:run')->daily()->at('07:00');
$schedule->command('/usr/bin/php8.0 order:gmupdate')->everyTenMinutes();
$schedule->command('/usr/bin/php8.0 product:gmupdate')->daily()->at('02:00');
$schedule->command('/usr/bin/php8.0 product:used:gmupdate')->daily()->at('04:30');
$schedule->command('backup:clean')->daily()->at('02:00');
$schedule->command('backup:run')->daily()->at('07:00');
$schedule->command('order:gmupdate')->everyTenMinutes();
$schedule->command('product:gmupdate')->daily()->at('02:00');
$schedule->command('product:used:gmupdate')->daily()->at('04:30');
//$schedule->command('product:updateqta')->hourly()->between('8:00', '00:00')->withoutOverlapping();
$schedule->command('/usr/bin/php8.0 product:updateqta')->everyFiveMinutes()->between('8:00', '00:00')->withoutOverlapping();
$schedule->command('product:updateqta')->everyFiveMinutes()->between('8:00', '00:00')->withoutOverlapping();
}
/**