|
来自举头望明月
昨天晚上八九点钟用at命令设置了一个脚本执行一系列统计运算:
at -f /path/stats.sh 3:30am tomorrow 经过讨论,又修改了其中的几个地方,改完的时候我已经饿的不得了,赶紧离开办公室找吃的。也因此,忘了之前想到的一个隐患,我改完了脚本,是不是应该用atrm从任务列表里删除之前添加的命令,重新设置呢?今天早晨来到办公室,检查完统计结果,发现昨天的担忧应验了,果然它是按照老脚本执行的。查了一下man at: For both at and batch, commands are read from standard input or the file specified with the -f option and executed. ...... (查看原文) 2007-02-09 11:55 |