[root@bogon bin]# service crond restart --启动定时服务
[root@bogon bin]# chkconfig crond on --开机自启动
[root@bogon bin]# crontab -e
-e 编辑 -l查询 -r 删除
1. * * * * * echo 111 >> /tmp/test 最小单位分钟
2. 1)写一个shell脚本
2)0 5 * * * /root/autobak.sh
[root@bogon bin]# service crond restart --启动定时服务
[root@bogon bin]# chkconfig crond on --开机自启动
[root@bogon bin]# crontab -e
-e 编辑 -l查询 -r 删除
1. * * * * * echo 111 >> /tmp/test 最小单位分钟
2. 1)写一个shell脚本
2)0 5 * * * /root/autobak.sh