crond配置
?crond配置
crond有兩個文件 1 ?/etc/crontab 是系統(tǒng)級別的調(diào)度文件 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編輯轉(zhuǎn)載于:https://blog.51cto.com/xiaoli110/752983
新人創(chuàng)作打卡挑戰(zhàn)賽發(fā)博客就能抽獎!定制產(chǎn)品紅包拿不停!總結(jié)
- 上一篇: Java线程池 / Executor /
- 下一篇: 成为编程高手