网上很多方法没解决,最后摸索出下面的组合命令:
crontab root && cron reload && /etc/init.d/cron reload
博主分享了在遇到网上常见方法无法解决定时任务执行问题时,通过自行尝试得出的一条有效组合命令:`crontab -e && service cron reload && /etc/init.d/cron reload`。这条命令成功地实现了cron服务的配置和重启,对于需要设置定时任务的读者具有参考价值。
网上很多方法没解决,最后摸索出下面的组合命令:
crontab root && cron reload && /etc/init.d/cron reload
154

被折叠的 条评论
为什么被折叠?