I have a bash script that works fine at the prompt (Ubuntu).
When the script is run in the crontab it fails after a while when it runs an external program using the backticks e.g. `date` or when it runs a another script.
If I remove all the backtick lines or $(date) lines or script.pl/sh lines the script works fine in the crontab.
Any ideas what could be causing this? I have checked for the same PATH environments and they are fine.