From owner-freebsd-questions Wed Dec 11 11:54: 3 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D357B37B401 for ; Wed, 11 Dec 2002 11:54:01 -0800 (PST) Received: from aberlour1.sirsi.com (aberlour.sirsi.com [150.147.64.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6863043EA9 for ; Wed, 11 Dec 2002 11:54:01 -0800 (PST) (envelope-from erics@sirsi.com) Received: from stlmail.dra.com (stlmail.dra.com [192.65.218.119]) by aberlour1.sirsi.com (8.12.1/8.12.1) with ESMTP id gBBJafaP003520; Wed, 11 Dec 2002 13:36:41 -0600 (CST) Received: by stlmail.dra.com with Internet Mail Service (5.5.2656.59) id ; Wed, 11 Dec 2002 13:53:22 -0600 Message-ID: From: Eric Six To: "'Norbert Koch'" Cc: "'freebsd-questions@FreeBSD.ORG'" Subject: RE: Cron script problem.... Date: Wed, 11 Dec 2002 13:53:13 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2656.59) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Interactively, I am running the script as the backup account that cron uses to run the copy script. And it runs correctly interactively. I try the ssh -v and see if that says anything.. Is there a timeout issue that cron might be seeing? Anyone know? hmm.. I am stumped. Eric -----Original Message----- From: Norbert Koch [mailto:viteno@t-online.de] Sent: Wednesday, December 11, 2002 1:50 PM To: Jack L. Stone Cc: Eric Six; 'freebsd-questions@FreeBSD.ORG' Subject: Re: Cron script problem.... "Jack L. Stone" writes: Hi! > Eric: I'm no script expert, but perhaps if you added the full path to perl > in the cron line. That's usually a problem.... Shouldn't be the case here, because then, the script wouldn't start at all, but as Eric has pointed out it runs up to the first SSH call. Eric, it might be a good idea to call ssh with the -v switch and capture the output of the command. Maybe it sheds some light into your problem. Do you use the same user for interactive and cronjob operation? norbert. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message