启用ssl后,Cron作业停止工作

时间:2017-02-14 10:26:17

标签: php ssl cron cpanel

我最近在Prestashop网站上启用了SSL,但是我的2个cronjobs停止了错误处理:

Status: 301 Moved Permanently
X-Powered-By: PHP/5.6.25
Content-Type: text/html; charset=utf-8
Cache-Control: no-cache
Location: https://www.xxxxxx.it

cron命令是:php /home/xxxxx/public_html/path/command.php 我不能使用wget或curl。

有什么想法吗?

1 个答案:

答案 0 :(得分:0)

检查路径上的cron日志

的/ var /日志/ cron的

它会让你知道发生了什么