------- Additional Comments From [hidden email] 2005-05-17 09:58 -------
(In reply to comment #1)
> In my experience, when commands are executed from cron, their environment is
> You need to execute ". ~/.profile" before running any other commands.
Thanks for the response. I tried calling the .profile that I normally use but
crontab complained because of the 'export' command on each of the variables so
I found some information on the Internet
(http://www.aplawrence.com/Unixart/cron.html) that said you don't need to use
export so I created a script that set all the variables required and then
called the ant script but still no joy.
To check if the cvs bin directory was added I echoed the PATH to a file and
found it was there and also tried calling cvs directly in the script and the
command was found. It only seemed to have problems in the ant script.