我一直在试图运行的Cron任务不工作Magento的1.9.2
Magento version : 1.9.2.4 PHP : 5.6
我试图从我的C-面板的cron选项卡下面的选项上的Magento网站一个cron任务(一个子域)
集777个permssions为cron.php文件
选项1:
*/15 * * * * PHP -q /家庭/ XXXX /的public_html /新的magento/cron.php
选项2:
0,30 * * * */bin/sh的/home/XXXX/public_html/newmagento/cron.sh
选项3:
0 * * * * PHP /home/XXXX/public_html/newmagento/cron.php
,但我无法得到我吨,任何选项
**为crons响应在电子邮件中收到的工作:**
选项1:
拒绝访问。
选项3:
X供电-通过:PHP/5.6.14
内容类型:文本/ HTML;字符集= UTF-8
访问被拒绝。
有办法2
没有电子邮件响应读取安装的意见 'AOE调度'
发现没有心跳任务后。检查cron是否配置正确。 (见说明)
我改性的cron(从C-面板)作为insrtructed由AOE调度为:
-
-
-
-
- ! test -e /home/XXXX/public_html/newmagento/maintenance.flag & &/bin/bash/home/XXXX/public_html/newmagento/scheduler_cron。SH --mode总是--includeGroups my_queue_jobs
-
-
-
-
-
-
-
- !测试-e /home/XXXX/public_html/newmagento/maintenance.flag & & /斌/庆典/home/XXXX/public_html/newmagento/scheduler_cron.sh --mode总是--excludeGroups my_queue_jobs
-
-
-
-
-
-
-
- !测试-e /home/XXXX/public_html/newmagento/maintenance.flag & & /斌/庆典/home/XXXX/public_html/newmagento/scheduler_cron.sh --mode默认--includeGroups A组,B组
-
-
-
-
-
-
-
- !测试-e /home/XXXX/public_html/newmagento/maintenance.flag & & /斌/庆典/home/XXXX/public_html/newmagento/scheduler_cron.sh --mode默认--includeGroups C组
-
-
-
-
-
-
-
- ! test -e /home/XXXX/public_html/newmagento/maintenance.flag & &/bin/bash /home/XXXX/public_html/newmagento/scheduler_cron.sh --mode default --excludeGroups groupA,groupB,groupC */10 * * * *! test -e /home/XXXX/public_html/newmagento/maintenance.flag & & cd/home/XXXX/public_html/newmagento/shell & &/usr/bin/php scheduler。PHP --action看门狗
-
-
-
做的一切,我得到了以下结果电子邮件
后!测试-e /home/XXXX/public_html/newmagento/maintenance.flag & & /斌/庆典/home/XXXX/public_html/newmagento/scheduler_cron.sh --mode总是--includeGroups my_queue_jobs
/home/XXXX/public_html/newmagento/scheduler_cron.sh: fork: retry: Resource temporarily unavailable /home/XXXX/public_html/newmagento/scheduler_cron.sh: fork: retry: Resource temporarily unavailable /home/XXXX/public_html/newmagento/scheduler_cron.sh: fork: retry: Resource temporarily unavailable /home/XXXX/public_html/newmagento/scheduler_cron.sh: fork: retry: Resource temporarily unavailable /home/XXXX/public_html/newmagento/scheduler_cron.sh: fork: Resource temporarily unavailable Could not find a binary for php
!测试-e /home/XXXX/public_html/newmagento/maintenance.flag & & /斌/庆典/home/XXXX/public_html/newmagento/scheduler_cron.sh --mode总是--excludeGroups my_queue_jobs
/home/XXXX/public_html/newmagento/scheduler_cron.sh: fork: retry: Resource temporarily unavailable /home/XXXX/public_html/newmagento/scheduler_cron.sh: fork: retry: Resource temporarily unavailable /home/XXXX/public_html/newmagento/scheduler_cron.sh: fork: retry: Resource temporarily unavailable /home/XXXX/public_html/newmagento/scheduler_cron.sh: fork: retry: Resource temporarily unavailable /home/XXXX/public_html/newmagento/scheduler_cron.sh: fork: Resource temporarily unavailable
!测试-e /home/XXXX/public_html/newmagento/maintenance.flag & & /斌/庆典/home/XXXX/public_html/newmagento/scheduler_cron.sh --mode默认--includeGroups C组
/home/XXXX/public_html/newmagento/scheduler_cron.sh: fork: retry: Resource temporarily unavailable /home/XXXX/public_html/newmagento/scheduler_cron.sh: fork: retry: Resource temporarily unavailable /home/XXXX/public_html/newmagento/scheduler_cron.sh: fork: retry: Resource temporarily unavailable /home/XXXX/public_html/newmagento/scheduler_cron.sh: fork: retry: Resource temporarily unavailable /home/XXXX/public_html/newmagento/scheduler_cron.sh: fork: Resource temporarily unavailable
!测试-e /home/XXXX/public_html/newmagento/maintenance.flag & & /斌/庆典/home/XXXX/public_html/newmagento/scheduler_cron.sh --mode默认--includeGroups A组,B组
/home/XXXX/public_html/newmagento/scheduler_cron.sh: fork: retry: Resource temporarily unavailable /home/XXXX/public_html/newmagento/scheduler_cron.sh: fork: retry: Resource temporarily unavailable /home/XXXX/public_html/newmagento/scheduler_cron.sh: fork: retry: Resource temporarily unavailable /home/XXXX/public_html/newmagento/scheduler_cron.sh: fork: retry: Resource temporarily unavailable /home/XXXX/public_html/newmagento/scheduler_cron.sh: fork: Resource temporarily unavailable
!测试-e /home/XXXX/public_html/newmagento/maintenance.flag & & /斌/庆典/home/XXXX/public_html/newmagento/scheduler_cron.sh --mode默认--excludeGroups A组,B组,C组
/bin/bash: fork: retry: Resource temporarily unavailable
/bin/bash: fork: retry: Resource temporarily unavailable
/bin/bash: fork: retry: Resource temporarily unavailable
/bin/bash: fork: retry: Resource temporarily unavailable
/home/XXXX/public_html/newmagento/scheduler_cron.sh: fork: retry: Resource temporarily unavailable
Status: 500 Internal Server Error
X-Powered-By: PHP/5.6.14
Content-type: text/html; charset=UTF-8
!测试-e /home/XXXX/public_html/newmagento/maintenance.flag & & CD /家庭/ XXXX /的public_html/newmagento /壳& &在/ usr/bin中/ PHP scheduler.php --action看门狗
Status: 500 Internal Server Error
X-Powered-By: PHP/5.6.14
Content-type: text/html; charset=UTF-8
您是否通过安装'aoe scheduler extension? – fresher
添加此'aoe调度程序扩展'https:// www。magentocommerce.com/magento-connect/aoe-scheduler.html – Dave
nsdlfefinedieicbe我已经测试了它与aoe调度程序扩展和更新结果我得到 – satish