ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From blackwater dev <blackwater...@gmail.com>
Subject Re: cvs task failing from cron
Date Thu, 07 Jul 2005 14:08:42 GMT
Sorry Larry to be so dense but I am a linux newbie.

So in the cron it needs to set the PATH variable as it is the cron
that runs the ant script.

On 7/7/05, Shatzer, Larry <Larry.Shatzer@mirotechnologies.com> wrote:
> Well you can't do that from your shell, since cron's shell is stripped, like
> I said. So you will have to set the PATH variable in your script that calls
> the ant script. If you don't have a shell script that calls your ant script,
> create one for the purpose of building up the environment you need.
> 
> -- Larry
> 
> > -----Original Message-----
> > From: blackwater dev [mailto:blackwaterdev@gmail.com]
> > Sent: Thursday, July 07, 2005 6:34 AM
> > To: Ant Users List
> > Subject: Re: cvs task failing from cron
> >
> >
> > So cvs should be in my path env variable?  How do I check that?
> >
> > echo $PATH?
> >
> > On 7/7/05, Shatzer, Larry <Larry.Shatzer@mirotechnologies.com> wrote:
> > > Make sure your script for cron sets up your path so cvs is
> > in your path.
> > > Cronjobs run in a minimal environment.
> > >
> > > -- Larry
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message