Laravel the skip method in scheduler
You can use skip
in your commands to skip an execution
$schedule->command('emails:send')->daily()->skip(function () { return Calendar::isHoliday();});
Tip given by @cosmeescobedo
Laravel the skip method in scheduler
You can use skip
in your commands to skip an execution
$schedule->command('emails:send')->daily()->skip(function () { return Calendar::isHoliday();});
Tip given by @cosmeescobedo