linux例行性命令问题


 公司的机器是linux 2.4.21-37.EL的,我在/etc/crontab里面写了这么一段:
00 20 * * * root ant -file /home/ant/antcvs/build.xml
用来自动运行ant命令,可是没有反应,第二天一看,并没有运行,请问这是为什么?
ps:我已经把路径设定成为环境变量了,平时执行的时候也是直接输入“ant”的,没有问题啊。
这是/ var/log/cron中的日志信息:
Oct 11 20:00:00 simple CROND[11316]: (root) CMD (ant -file /home/ant/antcvs/build.xml)
我的主机名叫simple

相关内容

    暂无相关文章