cronjob and xmessage
I want to have the following line in root's crontab so that the message appears on any users desktop ..... but it doesn't work ie nothing is displayed. Other cronjobs are working.
20 11 * * * xmessage -center -timeout 3 This computer will disconnect from the Internet in FIVE minutes
I have tried all sorts of variations (found on LQ) but the message never displays. I have tried the message in both single and double quotes. I have tried /usr/X11R6/bin/xmessage. I have tried -display:0 and -display :0.0 ..... <<< what am I doing wrong?
Thanks
|