December 7, 2016 —John Koster
The schedule:run
command is used to run any commands that need to be ran. It is most often used in conjunction with a job or task scheduler utility, such as Cron.
The command can be run in a one-off fashion like so:
1# Run the schedule command directly.2php artisan schedule:run
If there are no tasks that are ready to run a message similar to the following output will be displayed:
1No scheduled commands are ready to run.
Running the schedule:run
command in this way can be useful for diagnosing problems with the scheduler.
∎