Cron Jobs commands and testing

I moved my installation to a new sub-domain. I copied over my crons with some ajustment to the php path and site path.

Here’s my crons, I’m on shared hosting :

0 8 * * * cd /home/yvmxxxx/www && /opt/alt/php81/usr/bin/php artisan schedule:run > /dev/null 2>&1

*/5 * * * * cd /home/yvmxxxx/www && /opt/alt/php81/usr/bin/php -d register_argc_argv=On artisan queue:work --stop-when-empty > /dev/null 2>&1

Let me know if you think is alright, and how can I test quickly to see if it’s working ?

Thanks !


The run command should be run every minute, other than that I think it’s ok.

If the cron isn’t running you’ll see an error in the lower left corner of the app.

Alright, thank you !