centos crond计划任务
centos crond计划任务
centos crond计划任务
1 每五分钟运行一次脚本
*/5 * * * * root /root/test/test.sh
2 3:00 4:00 5:00 6:00 运行一次 /root/test/test.sh
0 3-6 * * * root /root/test/test.sh
3 每小时的第5分钟执行一次test.sh
5 * * * * root /root/test/test.sh
4 每天的5点30 执行一次 test.sh
30 5 * * * root /root/test/test.sh
www.2cto.com
5 每月8号7点30 执行一次 test.sh
30 7 8 * * root /root/test/test.sh
6 每年6月8号5点30 执行一次 test.sh
30 5 8 6 * root /root/test/test.sh
7 每周日6:30 执行 test.sh
30 6 * * 0 root /root/test/test.sh
8 每天10:45-10:54期间每分钟执行一次 view-test.sh
45-54/1 10 * * * root /root/test/view-test.sh
评论暂时关闭