I'm using laravel schedule with Spatie/laravel-cronless-schedule package. PHP 7.4 & Laravel 5.6.
I have a confusion that how does it work with time & overlapping.
I have done so far.
// Noman Command for Send SMS
$schedule->command('api:elite-send-sms')->everyMinute()->withoutOverlapping();
$schedule->command('api:metro-send-sms')->everyMinute()->withoutOverlapping();
// Noman Command for Update Delivery Report
$schedule->command('EliteUpdateDeliveryStatus:updateStatus')->everyMinute()->withoutOverlapping();
$schedule->command('MetroUpdateDeliveryStatus:updateStatus')->everyMinute()->withoutOverlapping();
I have run this command by spatie/laravel-cronless-schedule
php artisan schedule:run-cronless --frequency=5
It's helped me to hit the schedule:run command continuously by 5 seconds frequency.
Now I would like to know that when I run the schedule:run-cronless command then what will be happened in my schedule command which is
$schedule->command('api:metro-send-sms')->everyMinute()->withoutOverlapping();
I have run schedule:run-cronless in 5 seconds interval but here its it in everyMinute() and withoutOverlapping()
Now my question is, Is it alright ? or is wrong with me? Or I have done something Illogically?
Any explanation will be highly appreciated.