||04-20-2010 10:22 AM
Originally Posted by MTK358
I wonder if it's possible to have cron run xmessage or gxmessage at certain intervals?
I tried this:
40 9 * * * /usr/bin/xmessage test
but it didn't work.
Ok....WHAT didn't work? What did it do? What error(s) did you get? Anything in the cron log? Did both xmessage and gxmessage give you the same results?
You could also try to put the xmessage command/message into a script file, and call that via cront. I've seen cron not take things before when you're passing an argument, etc., but shoving it into a shell script, and calling IT seems to work.