分页: 1 / 1
at命令无响应
发表于 : 2007-05-22 10:58
由 蛋壳羊
我用at命令可以输出ls -al的内容到指定文件
但是想运行amule就不行
我的命令是这样的
desktop:~$ at 11:00
warning: commands will be executed using /bin/sh
at> /usr/bin/amule
at> <EOT>
job 1 at Tue May 22 11:00:00 2007
高手出来指教下,谢谢:)
发表于 : 2007-05-22 11:03
由 eexpress
你想作什么??自动定时启动amule???
那不是crontab的事情吗
发表于 : 2007-05-22 11:31
由 蛋壳羊
谢谢eexpress

发表于 : 2007-05-22 17:48
由 蛋壳羊
还是不行阿
crontab也不执行
好象是环境变量的问题
上网查了些资料也没解决
# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file
# and files in /etc/cron.d. These files also have username fields,
# that none of the other crontabs do.
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
# m h dom mon dow user command
17 * * * * root cd / && run-parts --report /etc/cron.hourly
25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
#
我的crontab文件