linux 计划任务
at 和cron
at: atd服务 两个文件 /etc/at.allow /etc/at.deny 决定什么用户可以执行at计划任务 超级用户不受限制 allow优先级高
at time (时 分 秒-- (pm/am) 月/日/年) // at now + num days //at teatime + num minutes
atq:队列
at -c 队列 id
atrm num:删除任务
cron: 计划任务依据指定周期执行预定cron任务 cron的守护进程crond
crontab: -l (查看计划任务列表) -e(以默认文本编辑器编辑cron任务列表) -r(删除)-u(指定用户)时间 分 时 日 月 周 || * 每分 每时。。。 */5 : 每5分钟
/etc/crontab 计划任务表及说明 /etc/cron.d 特定的系统计划任务表 /etc/cron.houry 每小时的任务 /etc/cron.daily 每天计划任务 /etc/cron.weekly /etc/cron.monthy