Cannot get Script to Run Via Crontab

2007-12-16 Thread David Goodnature
I have a perl script that I can execute from the command line as root. It runs fine. When I try to automate it using the root crontab, the script fails. The lines from my script that are causing the problem are: my $scomd = "/usr/local/bin/ps2pdf -dPDFSETTINGS=/prepress -dProcessColorModel

Re: Cannot get Script to Run Via Crontab

2007-12-16 Thread Christian Walther
Hi, On 16/12/2007, David Goodnature <[EMAIL PROTECTED]> wrote: [...] > The cron message to mail/root ends with: > >exec: ps2pdf12: not found > > > I am assuming that cron cannot find a path or a config file for ghostscript, > but I don't have any idea how to fix this problem. > > Any help wou

Re: Cannot get Script to Run Via Crontab

2007-12-16 Thread Rolf G Nielsen
Christian Walther wrote: Hi, On 16/12/2007, David Goodnature <[EMAIL PROTECTED]> wrote: [...] The cron message to mail/root ends with: exec: ps2pdf12: not found I am assuming that cron cannot find a path or a config file for ghostscript, but I don't have any idea how to fix this problem.

Re: Cannot get Script to Run Via Crontab

2007-12-16 Thread Giorgos Keramidas
On 2007-12-16 19:10, David Goodnature <[EMAIL PROTECTED]> wrote: > I have a perl script that I can execute from the command line as root. > It runs fine. When I try to automate it using the root crontab, the > script fails. > > The lines from my script that are causing the problem are: > >my $

Re: Cannot get Script to Run Via Crontab

2007-12-17 Thread Robert Huff
Giorgos Keramidas writes: > > The lines from my script that are causing the problem are: > > > >my $scomd = "/usr/local/bin/ps2pdf -dPDFSETTINGS=/prepress > -dProcessColorModel=/DeviceGray -dAutoRotatePages=/PageByPage > -dDownsampleMonoImages=true -dMonoImageDownsampleType=/Average > -d

Re: Cannot get Script to Run Via Crontab

2007-12-17 Thread Giorgos Keramidas
On 2007-12-17 07:19, Robert Huff <[EMAIL PROTECTED]> wrote: >Giorgos Keramidas writes: >>> The lines from my script that are causing the problem are: >>>[...] >>> The cron message to mail/root ends with: >>> >>>exec: ps2pdf12: not found >>> >>> I am assuming that cron cannot find a path or