crontab工具安装和检查

什么是crontab?crontab 是一个用于设置周期性执行任务的工具

重启crond守护进程
systemctl restart crond

查看当前crond状态
systemctl status crond

查看定时任务列表
crontab -l

猜你喜欢

转载自www.cnblogs.com/yangzailu/p/10131717.html