Level 13
try
* * * * * /usr/local/var/www/projectName/artisan schedule:run >> /dev/null
or
* * * * * /usr/local/bin/php -q /usr/local/var/www/projectName/artisan schedule:run >> /dev/null 2>&1
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi All,
I'm doing a web and would like to insert data by using laravel cron job, but godaddy is different from my valet localhost. I can't use
* * * * * /usr/local/bin/php /usr/local/var/www/projectName/artisan schedule:run >> /dev/null 2>&1
I also did some research and found out need to do a setting in cpanel but it not successful also. https://my.godaddy.com/help/create-cron-jobs-3548
Anyone have idea? thank you
Please or to participate in this conversation.