I tried the following and saw nothing on my konsole.
at 11:12
warning: commands will be executed using /bin/sh
at> echo “Hello World”
at> <EOT>
job 8 at 2009-08-17 11:12
dhr@kermit:~>
I checked system services and “atd” is enabled, What should I look at next or see my example wrong. All I want to do is just display a reminder on my konsole.
Because you do an *echo *and the ouput is going to stdout (as allways and as there is no terminal and no statement to read it, it is lost), not to your console.
When you just want to test if *at *works make it
echo "Hello World" >/tmp/at-test
and afterwards look if */tmp/at-test *is created and what is in there.
In any case, as a normal user you are not allowed to write to the console.
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
at> <EOT>
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.
Good luck.
drogers8 wrote:
> 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/