天天看点

at

at:一次性计划任务

Ctrl + D 退出

at的限制使用:

/etc/at.allow    允许那些用户使用

/etc/at.deny    禁止

点击(此处)折叠或打开

  1. [[email protected] ~]$ at 23:38
  2. at> date > a.txt
  3. at> <EOT>
  4. job 12 at 2016-09-14 23:38
  5. [[email protected] ~]$ at 23:38 2016-09-14
  6. at> date >> a.txt
  7. at> <EOT>
  8. job 13 at 2016-09-14 23:38
  9. [[email protected] ~]$ atq
  10. 13    2016-09-14 23:38 a oracle
  11. 12    2016-09-14 23:38 a oracle
  12. [[email protected] ~]$ atrm 13
  13. [[email protected] ~]$ atq
  14. 12    2016-09-14 23:38 a oracle
  15. [[email protected] ~]$

显示进程ID

pgrep -l crond

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/26066458/viewspace-2125010/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/26066458/viewspace-2125010/