crond配置
?crond配置
crond有兩個文件 1 ?/etc/crontab 是系統級別的調度文件 SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin MAILTO=root HOME=/ # For details see man 4 crontabs # Example of job definition: # .---------------- minute (0 - 59) # | ?.------------- hour (0 - 23) # | ?| ?.---------- day of month (1 - 31) # | ?| ?| ?.------- month (1 - 12) OR jan,feb,mar,apr ... # | ?| ?| ?| ?.---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat # | ?| ?| ?| ?| # * ?* ?* ?* ?* user-name command to be executed 2 ?/var/spool/cron/用戶 為用戶級別的文件,比如/var/spool/cron/root,可以使用crontab -e編輯轉載于:https://blog.51cto.com/xiaoli110/752983
新人創作打卡挑戰賽發博客就能抽獎!定制產品紅包拿不停!總結
- 上一篇: Java线程池 / Executor /
- 下一篇: 成为编程高手