Support the ongoing development of Laravel.io →
posted 7 years ago
Configuration
Last updated 1 year ago.
0
Solution

Solved.

I didn't have a colon between schedule and run on the command line for my cron job entry.

Wrong command line:

* * * * * php /home/www/site/artisan schedule run >> /dev/null 2>&1

Correct command line:

* * * * * php /home/www/site/artisan schedule:run >> /dev/null 2>&1
Last updated 7 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

mrmena mrmena Joined 9 Apr 2017

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.