I have tried this:
Code:
* * * * * . $HOME/.bashrc ; myscript.sh
I want myscript.sh to open a gnome-terminal window from cron. It does not work.
Inside of myscript.sh I have this:
/usr/bin/gnome-terminal
I have also tried this:
Code:
* * * * * . ~/.profile ; myscript.sh
I open mutt and I get this:
Code:
Failed to parse arguments: Cannot open display:
I have searched a bit for an answer but have not found anything. Anyone know how to get gnome-terminal to open from a crontab?