The general environment that a script gets from cron isn't the same as the one you get when you log in.
Things to check:
In reply to Re: Why does cron kill this script??
by kschwab
in thread Why does cron kill this script??
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |