From: Simon Krahnke Date: 2009-05-07T15:05:04+09:00 Subject: Re: system call not working under cron * Michael Satterwhite (23:10) schrieb: > ret = system("gconftool -t str --set > /desktop/gnome/background/picture_filename '#{new_picture}'") Does gconftool need the DISPLAY environment variable? That probably wouldn't be there from cron but in any terminal started from X. If that's the case, system("DISPLAY=:1 gconftool ...") should work, replace ":1" by whatever $DISPLAY is in your terminal. mfg, simon .... l