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 <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED] > > 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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]