in reply to Re: CRON job failing but manual run works
in thread CRON job failing but manual run works
Below is the outputs:
So it appears that since I run the script manually as "root" (issues on the practice using of the root user aside) it is using a different install of Perl than CRON, correct?
Would putting the below in the script be a good option or is there a better option?
BEGIN { push @INC,( ./root/perl5/lib/perl5' ); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: CRON job failing but manual run works
by bart (Canon) on Aug 15, 2012 at 20:40 UTC | |
|
Re^3: CRON job failing but manual run works
by kcott (Archbishop) on Aug 15, 2012 at 20:41 UTC | |
|
Re^3: CRON job failing but manual run works
by Dranzaz (Sexton) on Aug 15, 2012 at 19:58 UTC |