Sometimes there are environmental differences that are not immediately obvious between executing a command at the shell vs. within a cron task.
A great hint I saw was to use the 'sys-process/at' package's command to schedule the script to run some time in the future. Then go to the /var/spool/at/atjobs folder to find a new script that has the environment configured correctly from the environment used to schedule the job. Use that script in your cron task to have a correct environment for the cron task. Dave -- gentoo-user@gentoo.org mailing list