A follow-up guess. Your script is failing because it is relying on environment variables that you don't have set right in cron. For a simple way to address that, see Get default login environment.
In reply to Re: How do I print errors
by tilly
in thread How do I print errors
by SQLMan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |