Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Dec 2002 13:53:13 -0600
From:      Eric Six <erics@sirsi.com>
To:        "'Norbert Koch'" <viteno@t-online.de>
Cc:        "'freebsd-questions@FreeBSD.ORG'" <freebsd-questions@FreeBSD.ORG>
Subject:   RE: Cron script problem....
Message-ID:  <DC32C8CEB3F8D311B6B5009027DE5AD505E33F6B@stlmail.dra.com>

next in thread | raw e-mail | index | archive | help
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" <jackstone@sage-one.net> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DC32C8CEB3F8D311B6B5009027DE5AD505E33F6B>