This commit is contained in:
paoloar77
2024-05-17 14:34:41 +02:00
parent 21e590a301
commit 1b77e57224
2 changed files with 82 additions and 5 deletions

View File

@@ -25,7 +25,7 @@ class Kernel extends ConsoleKernel
*/
protected function schedule(Schedule $schedule)
{
Log::info('Controllo schedule...');
// $schedule->command('inspire')->hourly();
$schedule->command('backup:clean')->daily()->at('02:00')->before(function () {
@@ -46,11 +46,10 @@ class Kernel extends ConsoleKernel
$schedule->command('product:updateqta')->everyFiveMinutes()->between('8:00', '00:00')->withoutOverlapping()->before(function () {
Log::info('Running product:updateqta command');
});
$schedule->command('product:testpao')
->everyFiveMinutes()
->between('8:00', '00:00')
$schedule->command('product:startday')
->daily()->at('08:00')
->before(function () {
Log::info('Running product:testpao command');
Log::info('Running product:startday command');
});
}