3
How do I get a gnome-terminal window to open from a crontab?
I have tried this:
* * * * * /usr/bin/gnome-terminal
* * * * * source /home/user_name/.bashrc ; /usr/bin/gnome-terminal
* * * * * source /home/user_name/.profile ; /usr/bin/gnome-terminal
* * * * * source /home/user_name/.bashrc ; /home/user_name/bin/opengnometerminal.sh
None of these seem to work.
Haven't used X in awhile but you probably need
DISPLAY
set in your environment. – None – 2011-10-28T03:25:59.067You could use cron to touch a file somewhere and use an inotify script (which is running in your X session) to watch the file and launch a terminal when the file changes... – Mel Boyce – 2011-10-28T03:26:07.340
Why are you trying to do this? – hafichuk – 2011-10-28T03:30:15.843
I want to send myself a message at a certain time. I will find another way. – userend – 2011-10-29T22:50:38.997