in reply to newbie question: can't use my own lib in crob job

Why don't you want to edit your PERL5LIB? Set it in your crontab ...
* 6 * * * PERL5LIB=/whatever/you/need/it/to/be ; export PERL5LIB ; you +r_script.pl

Plankton: 1% Evil, 99% Hot Gas.

Replies are listed 'Best First'.
Re: Re: newbie question: can't use my own lib in crob job
by iwanthome (Beadle) on Mar 30, 2004 at 03:21 UTC

    thanks for your reply .

    I just want to do it in my script. And I don't know I can write this command in cron tab before you tell me. I am newbie for unix and perl :-) But I still in doubt whether I can do this in script .

    thanks again!