用at关机,
sudo at time
shutdown
或是写入文本等
at time
ls -al > abc
都没问题。
定时启动程序却不执行:
at time
stardict
或是定时在终端echo 也不显示。
这是哪里的问题?
at 命令无法执行echo
-
- 帖子: 37
- 注册时间: 2010-04-20 22:09
-
- 帖子: 37
- 注册时间: 2010-04-20 22:09
Re: at 命令无法执行echo
解决了,要写明显示终端名
at 2:00
echo gooood > /dev/pts/0
at 2:01
DISPLAY=:0 google-chrome
在gnome界面打开chrome
at 2:00
echo gooood > /dev/pts/0
at 2:01
DISPLAY=:0 google-chrome
在gnome界面打开chrome