简体   繁体   中英

I put cron job command on cPanel but it is not working

The put the following command on the cPanel cron job

php /home/talal1993/public_html/manage/artisan schedule:run >> /dev/null 2>&1

But it is not working. When I run the command on the terminal it works perfectly

I'm guessing that you might be trying to create some command such as:

1   *   *   *   *   /usr/bin/php /home/talal1993/public_html/manage/artisan.php >/dev/null 2>&1

which your timing goes in the first part:

*   *   *   *   *

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM