Suppose I have three commands that I want to schedule: 'commandA', 'commandB' and 'commandC'
But I do not want to run "commandB" until "commandA" is complete, and I do not want to run "commandC" until "commandB" is complete.
I know that every schedule can be scheduled every five minutes:
$schedule->command('commandA')->everyFiveMinutes();
$schedule->command('commandB')->everyFiveMinutes();
$schedule->command('commandC')->everyFiveMinutes();
But is it possible to connect them one by one?
source
share