一、启动at服务
1、/etc/init.d/atd {start|stop|restart|condrestart|status}
或者service atd {start|stop|restart|status}
2、加入开机启动
chkconfig --level 2345 atd on
3、权限设置
/etc/at.allow 与 /etc/at.deny
二、at使用案例
命令:at[参数][时间]
1、增加计划任务
a、
[root@localhost ~]# at 17:20 tomorrow
at> date >/root/2013.log
at> <EOT>
job 8 at 2013-01-06 17:20
[root@localhost ~]#
2、查看计划任务列表
atq
3、查看任务内容
at -c taskNO
4、删除计划任务
atrm taskNO
2232

被折叠的 条评论
为什么被折叠?



