The environment in which cron runs scripts is not the same as the normal user, environment variables might not be present, and the PATH variable is going to be shorter.
When putting a script into cron, it is best to hardcode your variables, to be sure that it won't be missing some critical bit of information when it comes time to run. Also be sure to give the complete path to commands, so you would use "/usr/bin/wget" rather than just "wget".
|