Schedule one-time tasks with at. 一次性调度执行 at
Schedule recurring jobs with corn. 循环执行cron
Schedule recurring system jobs.
所有计划任务执行中的输出部分都会以邮件的方式执行发送给用户
一次性调度执行at
语法格式
at <TIMESPEC>
now+5min
teatime tomorror(teatime is 16:00)
noon+1day
5pm june 3 2018
例1:
[root@xx]# at now +1min
at> useradd uuu
at> <EOT>
job 1 at Sat Mar 21 22:34:00 2015
[root@yang ~]#id uuuu