On Wednesday, August 7, 2002, at 07:15 , Ian Ragsdale wrote:

> On 8/7/02 8:06 PM, "Noah Hoffman" <[EMAIL PROTECTED]> wrote:
>
>> Does anyone know how to do this?  I've added my lines to the crontab 
>> file for
>> root in /private/etc.  They look something like this:
>>
>> "00    2     *     *     *     root     perl
> /Volumes/Builds/Development/build.pl
>>
>
> My guess is that perl is not in your path when cron runs the script.  Try
> changing that to '/usr/bin/perl' and see if it works.

alternatively one could change the permission bits

        chmod 755 /Volumes/Builds/Development/build.pl

and just 'execute' it in the form

        00 2 * * * /Volumes/Builds/Development/build.pl


I would highly recommend that you do NOT try to
have it pop up a window. Letting things run in
crontab means that they will send you email -
assuming that you have sendmail running - and
you can read the 'output' in the morning, when
you are sane and sober.

alternatively you can just have it dump off
to a log file and check that logfile when
you have the time and inclination.

recommendations would include

        /usr/local/etc/<project_name>

in due regards for the old BSD's

or into

        /var/logs/<project_name>

or .....


ciao
drieux

---

Reply via email to