[CentOS] Display a warning message at a certain time ?

Thu Feb 4 15:24:22 UTC 2010
Geoff Galitz <geoff at galitz.org>

> 3) But when I add it to crontab like this :
> 
> # crontab -e
> 
> 15 22 * * * /usr/local/sbin/warning.sh
> 
> ... nothing happens at the given time (10:15 PM).
> 
> Any idea what's wrong here?


Any errors from a cron run go to your root mailbox (or whatever user's
crontab it is, when applicable).  Check your root mailbox for an error, I'm
assuming the PATH to zenity is not set correctly.  That is the usual culprit
in a case like this.


---------------------------------
Geoff Galitz
Blankenheim NRW, Germany
http://www.galitz.org/
http://german-way.com/blog/