linux crontab定时任务不执行

如crontab 没有成功,检测crontab 服务是否启动,

/etc/init.d/crond status 查看crond状态

/etc/init.d/crond restart  重启crond

cron 是系统守护进程,位置:
/etc/init.d/crond
参数:

start
stop
restart
reload

crontab执行后日志文件路径

/var/log/cron
原文地址:https://www.cnblogs.com/xzlive/p/10065483.html