More generally, this is something I've seen happen way too many times: shell scripts that "work fine" from the command line but fail under cron due to cron having a different PATH.
My hunch is the OP has '.' somewhere in his PATH.
In reply to Re^2: RUN SHELL SCRIPT IN CRON
by drench
in thread Reaped: RUN SHELL SCRIPT IN CRON
by NodeReaper
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |