69 words, 1 min read

Today, I learned a quick way to run a scheduled command.

For example, you can list the scheduled command using the schedule:list command:

$ php artisan schedule:list
0 0 * * * php artisan devops:nightly-backup .................... Next Due: 16 hours from now

You can also run / test these command using the schedule:test command:

a schedule:test --name="kbo:check-for-updates"
Running ['artisan' devops:nightly-backup] ......................................... 7m 2s DONE
⇂ local | Nightly backup