That was what I tried first, setting up a cron command to open an xterm, " * * * * * xterm " This returned the error message, " xterm Xt error: Can't open display: ". Posting to an already open window is fairly straight forward with, " 20,21,22 6 * * * echo "It's 10pm, do you know where your children are?" | wall " this posts this meassage to all open terminals on the system at 06:20, :21, and :22. Am stuck though as to how to open a terminal from w/in cron if one is not already. Other ideas? On Sat, 2003-05-24 at 07:18, Jerry Feldman wrote:
On 24 May 2003 06:29:38 -0800 Glenn
wrote: I'd like to set up a statement in crontab that will open a terminal and display a message. I've been using cron for backups and log rotation and have the format down, I'm just unable to figure out how to open a window from within cron. Just an idea. You could start an xterm. I haven't played with it, but it should be able to work. The other trick is to post a message to it. You could execute a script that echos a message: xterm -e msgsender.sh