How do I start graphical applications via cron?
I'm having problems scheduling azureus to start at a given time using cron. I can start any console-based application, but every graphical applications fails to start. I'm using Gentoo, KDE and vixie-cron.
Can anyone help, please? Thanks in advance. |
instead of using just
azureus as the command, like you probably did, give the command: env DISPLAY=:0.0 azureus I hope this works. |
Or without env if cron has bash as it's shell ...
And try the full path, just in case. Cheers, Tink |
Thanks for the replies, but I've already been advised to use that DISPLAY thingy, and it didn't work. I didn't use "env", though, I'll give it a try and post results later. And yes, I'm using the full path /usr/bin/azureus.
|
Quote:
already running an X session? :) Cheers, Tink |
Quote:
|
More than once ... and just to re-assure myself that
env wasn't necessary I did the following about 50 minutes ago ... Code:
57 8 * * * DISPLAY=localhost:0.0 /usr/X11R6/bin/oclock& Cheers, Tink |
Thanks a lot, I'm goona try it as soon as I arrive home :)
|
All times are GMT -5. The time now is 11:28 AM. |