in reply to Perl script in crontab

Hi,

We did something like this -

    minute hour * * * use setup_file; sudo -u bibatch /usr/bin/perl /home/bibatch/Pagos/scripts/pagos.pl

depending on which variety of shell is being used.

It may not be pretty, but it worked.

J.C.

Replies are listed 'Best First'.
Re^2: Perl script in crontab
by Anonymous Monk on Nov 20, 2010 at 21:51 UTC

    No, no, no, it wasn't 'use', it was 'source' or '.'.

    J.C.