Adding. You may write as root (you did understand that allready from my earlier post, I think). In that case you use /dev/console as output device:
echo "Hello World" >/dev/console
But /dev/console is the **current **console. Mostly one uses the console at logical screen #1 (to be reached with Ctrl-Alt-F1 when you are running the GUI which is normaly on logical screen #7 and above). Other consoles are at logical screen #2-6. The output goes to the console at the **current **console on the then active logical screen (which is what you want I think), but when you are at the GUI when the job runs, there will be no output (iow, you will see nothing of it when you go to a console screen to late).
I am new to SUSE so I am using KDE 3.5 with some konsoles. I also tried and couldn’t get working
dhr@kermit:~> at 16:53
warning: commands will be executed using /bin/sh
at> kdialog --msgbox “Hello” >/dev/console
But kdialog --msgbox “hello”
Does work from my konsole, a dialog message box does show up on my screen. Which is all I am after from ‘at’.
Um… that’s (set DISPLAY to the message you want to display) not
what I typed at all. Give it a shot.
> I echo $DISPLAY and got
> export DISPLAY=:0.0
> The daemon was running
> dhr@kermit:~> sudo /etc/init.d/atd status
> root’s password:
> Checking for at daemon: running
> Why should I set the $DISPLAY var to the message I want to display.
> Isn’t that what kdialog is for? Thank you for your help.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/