From: Joel VanderWerf Date: 2009-05-07T06:21:35+09:00 Subject: Re: system call not working under cron Michael Satterwhite wrote: > ret = system("gconftool -t str --set > /desktop/gnome/background/picture_filename '#{new_picture}'") ... OT, but should that be -t #{str} ? > Does anyone know why this command would work from a console, but not > from a cron job? Have you set up the PATH env var so that the command is found? Cron jobs run in a very basic environment, so it may not be finding the program (though apparently it did find ruby). -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407