Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 29013 invoked from network); 7 Jul 2005 12:50:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Jul 2005 12:50:09 -0000 Received: (qmail 85570 invoked by uid 500); 7 Jul 2005 12:50:02 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 85539 invoked by uid 500); 7 Jul 2005 12:50:01 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 85526 invoked by uid 99); 7 Jul 2005 12:50:01 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jul 2005 05:50:00 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of blackwaterdev@gmail.com designates 64.233.184.194 as permitted sender) Received: from [64.233.184.194] (HELO wproxy.gmail.com) (64.233.184.194) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jul 2005 05:48:06 -0700 Received: by wproxy.gmail.com with SMTP id i22so186500wra for ; Thu, 07 Jul 2005 05:48:03 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=tC5BmDoCyw4cEeHA4/2IEoJA7vqZ5iMauWKGxff16ttD3grPNC57jQ5TP9zBbPv6O1kv6e9mPJNuwNUGpFywnbwU/k9VI7In2SgvMeOUFRwuDQbwBlVQKMEsHy7+MKn/wLTSfH6Ap8gH0nIZOPqsO/vZz7Ie/ZWYaejz+xccNyI= Received: by 10.54.30.4 with SMTP id d4mr733398wrd; Thu, 07 Jul 2005 05:48:02 -0700 (PDT) Received: by 10.54.23.33 with HTTP; Thu, 7 Jul 2005 05:48:02 -0700 (PDT) Message-ID: <34a9824e050707054873a07930@mail.gmail.com> Date: Thu, 7 Jul 2005 08:48:02 -0400 From: blackwater dev Reply-To: blackwater dev To: Ant Users List Subject: cvs task failing from cron Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I have a cvs task that uses ssh authentication to checkout: After asking a question yesterday about storing my ssh password, I set up an ssh key and now when I ssh into the box, I can run the build script and everything runs fine and it doesn't ask for my password.=20 The problem is, I need to run the same build script from a cron job.=20 I know the cron job is running as other tasks are executed but for some reason when the cvs task is run from the cron, I get this error: checkout: [cvs] Caught exception: No such file or directory Here's the cron: 10 30 * * * /usr/bin/ant -buildfile /home/me/build.xml -logfile /home/me/lo= g.txt Why won't this script run from a cron? Thanks! --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org