I worked on magento
and I want to run cron job
on the server.
If I run domainname/magentofolder/cron.php
in the address bar it works.
But when I try to set up cron job
on cpanel
it will not working.
如果执行php cron文件不起作用,您也可以尝试将cron设置为使用cron.sh文件,如下所示:
*/5 * * * * /bin/sh /absolute/path/to/magento/cron.sh
Try this
*/5 * * * * wget -O /dev/null -q http://www.YOURDOMAIN.com/PATH_TO_MAGENTO/cron.php > /dev/null
more information is on xtento
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.