at:一次性计划任务
Ctrl + D 退出
at的限制使用:
/etc/at.allow 允许那些用户使用
/etc/at.deny 禁止
点击(此处)折叠或打开
- [[email protected] ~]$ at 23:38
- at> date > a.txt
- at> <EOT>
- job 12 at 2016-09-14 23:38
- [[email protected] ~]$ at 23:38 2016-09-14
- at> date >> a.txt
- at> <EOT>
- job 13 at 2016-09-14 23:38
- [[email protected] ~]$ atq
- 13 2016-09-14 23:38 a oracle
- 12 2016-09-14 23:38 a oracle
- [[email protected] ~]$ atrm 13
- [[email protected] ~]$ atq
- 12 2016-09-14 23:38 a oracle
- [[email protected] ~]$
显示进程ID
pgrep -l crond
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/26066458/viewspace-2125010/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/26066458/viewspace-2125010/