简体   繁体   English

我在 cPanel 上放置了 cron 作业命令,但它不起作用

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

The put the following command on the cPanel cron job将以下命令放在 cPanel cron 作业上

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:您的时间安排在第一部分:

*   *   *   *   *

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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