On Wed, 4 Mar 2009 22:32:09 -0500
Rick Pasotto <email@example.com> wrote:
> I keep my system updated daily to testing and that may be the problem
> but still there's something I don't understand.
> I have a script that is run by cron every 15 minutes to change the
> background on my screen. Recently the script stopped working. The
> strange thing is that if I run the script from the command line it works
> as it always has. Actually, the script runs and does everything *except*
> change the background. The line to do this is:
> gconftool-2 -t str --set /desktop/gnome/background/picture_filename $FileName
> Why would that line not work when executed in a script run by cron even
> though it does work when the script is executed from the command line?
A couple of things you could check...
1. Cron logs. If there is an error, it would say it there.
2. Like the other reply said maybe it has something to do with the
environment variables. Try using the full path of the binary as well as
the picture file name.