startday
This commit is contained in:
@@ -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');
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user