+ -
当前位置:首页 → 问答吧 → at -f auto.sh -t 01260944 为什么没有执行脚本?

at -f auto.sh -t 01260944 为什么没有执行脚本?

时间:2011-01-26

来源:互联网

时间到了,为什么没有执行脚本auto.sh? 当前用户是root.
  1. # at -f auto.sh -t 01260944
  2. warning: commands will be executed using /bin/sh
  3. job 12 at Wed Jan 26 09:44:00 2011
复制代码

作者: linux_kejun   发布时间: 2011-01-26

How do you know this job was not executed?

作者: nhw_cs   发布时间: 2011-01-26



QUOTE:
How do you know this job was not executed?
nhw_cs 发表于 2011-01-26 09:58



如果执行了,应该输出一些信息人吧?难道不输出任何信息到stdout, stderr ?

作者: linux_kejun   发布时间: 2011-01-26



QUOTE:
如果执行了,应该输出一些信息人吧?难道不输出任何信息到stdout, stderr ?
linux_kejun 发表于 2011-01-26 10:02




    That is the cause of the problem! Actually any job issued by at run in "backgorund' mode which means that it has no any control termial connected!
    Use at -l to check if your job still in the queue?

作者: nhw_cs   发布时间: 2011-01-26

回复 nhw_cs

thank you very much ! :luya:

作者: linux_kejun   发布时间: 2011-01-26