Thread: Cron Jobs
View Single Post
Old 05-10-2005, 11:32 AM   #6 (permalink)
GNUrag
FooBar Guy
 
GNUrag's Avatar
 
Join Date: Jun 2004
Location: GNUmbai
Posts: 1,245
Default

Its actually possible to run GUI application from cron.

1) The user who is running X should allow X authentication from all users by giving:
$ xhost +
2) The cron script should know on which X display to draw the application by:
$ export DISPLAY=:0.0

Now this will work for GUI applications started from all users.
__________________
- --
http://web.gnuer.org
GNUrag is offline