crontab不执行

首先看是否运行 /etc/init.d/crond status

将 * * * * * /usr/local/bin/php /path/ fun >> /tmp/error.log 2>&1

查看错误日志

欢迎大家学习,交流
原文地址:https://www.cnblogs.com/lijintao1025/p/9838493.html