Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Gintron's avatar

Cron jobs does not execute commands automatically

This is my command in my Cron Jobs: cd /home/workieor/workie && php artisan schedule:run >> /dev/null 2>&1

It is set to 1 minute. When I try to manully run the command in my terminal everything works.

My hosting provider tells me that my Cron Job is running fine but my queue is not executing when waiting for the cron job to run them.

0 likes
1 reply
Gintron's avatar
Gintron
OP
Best Answer
Level 4

I ended up writing the job like this: /usr/local/bin/php /home/workieor/workie/artisan schedule:run >> /dev/null 2>&1

Now it works

Please or to participate in this conversation.