//View Tip #491
Similar Tips
There are no more tips with these tags. Perhaps you'd like to submit one, or browse the archives.

 

Latest tips by RSS
Click here to subscribe
Follow Shell-Fu on Twitter
Click here to follow
Follow Shell-Fu on identi.ca
Click here to follow
To setup a simple reminder to appear on your screen at a set time you can use xmessage with the 'at' command:
echo 'xmessage "Hello"'|at 19:00

Alternatively to be alerted a set time later, use sleep:
sleep 8h; cat /dev/urandom > /dev/dsp


View Comments »




Comments 

Add your comment

Comments are currently disabled
I haven't tried it specifically, but afair you can't convince cron/at to pop up messages to X, they don't get authorized.
Posted 2009-01-22 14:48:49
Mitzekotze
I think the first code snippet will not work in the way it should. You must use backticks to execute the programm xmessage with its parameter.
echo `xmessage "Hello"` | at 19:00
Posted 2009-01-22 19:53:20
First one wouldn't work in anyway.
Posted 2009-01-23 20:25:36
Tzarius
I've been trying to find a way to start X apps via at and cron, is there nothing at all we can do to start an interactive app via scheduling?
Posted 2009-01-28 11:16:14

Home Latest Browse Top 25 Random Hall Of Fame Contact Submit