查看当前crond 脚务有没有开
service crond status
service crond start
crontab -l 显示当前用户
crontab -e编辑当前划
[oracle@linren ~]$ crontab -l
59 23 * * 0-6 /home/oracle/1.sh
分时年月周
*代表任何时间
/sbin/chkconfig --level 23456 crond on;使服务自动起来
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/7301064/viewspace-412246/ ,如需转载,请注明出处,否则将追究法律责任。