且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Magento 定时任务

更新时间:2023-09-19 14:40:46

我有两个建议.

更新 cron.php

如果您使用的是 Magento 1.8,那么这将解释您需要做什么:http://www.a2hosting.com/kb/installable-applications/optimization-and-configuration/magento1/cron-jobs-do-not-run-on-magento-1-8-after-upgrade

If you're using Magento 1.8, then this will explain what you need to do: http://www.a2hosting.com/kb/installable-applications/optimization-and-configuration/magento1/cron-jobs-do-not-run-on-magento-1-8-after-upgrade

确保您使用的是正确版本的 php

可能只是您使用的是旧版本的 php!默认情况下,在我的情况下,在 1and1 上,只需使用 php 命令即可获得 v4.4.9.我必须明确强制 php v5 然后它才能工作!

It might simply be you're using an old version of php! By default, on 1and1 in my case, just using the php command gets v4.4.9. I have to explicitly force php v5 and then it works!

我还建议安装 Fabrizio Branca 的 AOE 调度器扩展

I'd also recommend installing Fabrizio Branca's AOE Scheduler extension