From 5ab0793d98f438b6a00fdee497581d3104055939 Mon Sep 17 00:00:00 2001 From: paoloar77 Date: Thu, 16 May 2024 20:02:20 +0200 Subject: [PATCH] versione 8.0 usata di default --- app/Console/Kernel.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index 7b1e5580..e08c55ca 100644 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -25,13 +25,13 @@ class Kernel extends ConsoleKernel protected function schedule(Schedule $schedule) { // $schedule->command('inspire')->hourly(); - $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('/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('product:updateqta')->hourly()->between('8:00', '00:00')->withoutOverlapping(); - $schedule->command('product:updateqta')->everyFiveMinutes()->between('8:00', '00:00')->withoutOverlapping(); + $schedule->command('/usr/bin/php8.0 product:updateqta')->everyFiveMinutes()->between('8:00', '00:00')->withoutOverlapping(); } /**