【发布时间】:2013-09-26 20:17:35
【问题描述】:
我刚刚使用 magento connect 的 1.8.0.0 版本升级了我的 magento 安装。
我使用“Magento connect”将 magento 升级到 1.8.0.0,然后出现以下消息
Cronjob status: Cron.php doesn’t seem to be set up properly. Cron did not execute within the last 15 minutes. Please make sure to set up the cronjob as explained here and check the cron status 15 minutes after setting up the cronjob properly again.
自升级以来所有计划的作业(库存导入/订单导出、日志清理等)都已停止。
我的 crontab 是:
$ crontab -l
*/5 * * * * wget -O /dev/null -q http://localhost/cron.php > /dev/null
并从 shell 手动执行 wget
wget -O /dev/null -q -S http://localhost/cron.php
HTTP/1.1 200 OK
Date: Thu, 26 Sep 2013 07:10:10 GMT
Server: Apache
X-Powered-By: PHP/5.3.21 ZendServer/5.0
Vary: Accept-Encoding
Keep-Alive: timeout=5, max=99
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html
我已经安装了 Aoe 调度程序,它会显示一长串待处理的作业
任何地方都没有错误(apache 日志,magento 日志,...)
我该如何解决这个问题?
谢谢。
更新:调用 shell 脚本重新激活了心跳……我仍然不明白问题出在哪里
*/5 * * * * /var/www/magento/htdocs/cron.sh > /dev/null
【问题讨论】: