系统定时任务及延时任务 文章目录 系统定时任务及延时任务 一、系统延时任务 1.at命令 2.黑白名单 3.邮件记录 二、系统定时任务 1.crontab 时间表示方式 2.系统控制crontab的服务 3.crontab 命令 4.crontab 黑白名单 5.系统级别的crontab 6.不接收cron的邮件 一、系统延时任务 1.at命令 watch -n 1 ls -lR /mnt/ 用命令观察/mnt/下 at 14:37 #14:37开始 at> touch /mnt/test{1..10} #建立文件 ctrl+d #保存 at 一些命令 at now+1min #一分钟之后启动 at -l #查看任务列表 at -c