at命令无响应

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
蛋壳羊
帖子: 113
注册时间: 2006-11-04 19:56

at命令无响应

#1

帖子 蛋壳羊 » 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

高手出来指教下,谢谢:)
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#2

帖子 eexpress » 2007-05-22 11:03

你想作什么??自动定时启动amule???
那不是crontab的事情吗
● 鸣学
蛋壳羊
帖子: 113
注册时间: 2006-11-04 19:56

#3

帖子 蛋壳羊 » 2007-05-22 11:31

谢谢eexpress :?
蛋壳羊
帖子: 113
注册时间: 2006-11-04 19:56

#4

帖子 蛋壳羊 » 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文件
回复