Remember that cron runs as root and may have a different $PATH than when
you run from the console. Ensure that you use full pathnames when
referencing files. Also check the system log files for any suspicious
goings on. Next would be to insert some debugging statements in the
code to determine where it is failing. Write the debug output to a file
for later examination.