Problem with gconftool and cron
Mihamina Rakotomandimby (R12y)
mihamina at lab.vectoris.fr
Thu May 7 06:09:55 UTC 2009
Michael Satterwhite wrote:
> I wrote a ruby script to periodically change my desktop image. I want to
> run it through cron every 30 minutes. When I run the script from the
> command line, it works perfectly.
> When I run it through cron, it doesn't work.
When you are logged in, open a terminal and type 'env'.
You will see all initialized variables that are set when you logged in.
In the cron environment, you have just a few variables set.
Therefore, you should set them manually and know what variables are needed
by the script you will run.
I dont know what is needed by your script.
Good luck.
--
Chef de projet chez Vectoris
Phone: +261 33 11 207 36
System: xUbuntu 8.10 with almost all from package install
http://www.google.com/search?q=mihamina+rakotomandimby
More information about the ubuntu-users
mailing list