打印

求教关于定时运行程序无法加载的问题.

求教关于定时运行程序无法加载的问题.

我用的suse 10.1版本
终端输入
at **:**
firefox <回车><Ctrl+D>
无法定时执行,
在root下运行ntsysv,同样无法加载;
查看存在 /etc/at.deny,不存在/etc/at.allow

同时运行batch情况也一样,

请教各位高手,这问题该如何解决?

谢谢.
...

TOP

这样就行了:
$ at xxx
warning: commands will be executed using /bin/sh
at> firefox --display :0.0
at> <EOT>

否则到时会收到邮件:
Subject:         Output from your job        1
(firefox-bin:3957): Gtk-WARNING **: cannot open display:

TOP