in reply to Reaped: RUN SHELL SCRIPT IN CRON

hmmm, probably use ./script1.pl inside the shell script instead of just script1.pl

does it helped ?
-- Sathiyamoorthy

Replies are listed 'Best First'.
Re^2: RUN SHELL SCRIPT IN CRON
by drench (Beadle) on Mar 25, 2009 at 12:12 UTC

    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.