Try using the cron_env method.