We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
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
If this post was enjoyable or useful for you, please share it! If you have comments, questions, or feedback, you can email my personal email. To get new posts, subscribe use the RSS feed.