Re: Cron script problem....

2002-12-11 Thread Jack L. Stone
At 01:05 PM 12.11.2002 -0600, Eric Six wrote: Hi All, I am having a weird problem on a freebsd 4.7. I have two perl scripts I am running via cron, one is run as root to make a backup of a directory and the files in it, the second is run as a user to scp files to another box. What I am

Re: Cron script problem....

2002-12-11 Thread Norbert Koch
Jack L. Stone [EMAIL PROTECTED] 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

RE: Cron script problem....

2002-12-11 Thread Eric Six
Message- From: Norbert Koch [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 1:50 PM To: Jack L. Stone Cc: Eric Six; '[EMAIL PROTECTED]' Subject: Re: Cron script problem Jack L. Stone [EMAIL PROTECTED] writes: Hi! Eric: I'm no script expert, but perhaps if you added the full path

Re: Cron script problem....

2002-12-11 Thread Mike Galvez
On Wed, Dec 11, 2002 at 01:05:13PM -0600, Eric Six wrote: Hi All, I am having a weird problem on a freebsd 4.7. I have two perl scripts I am running via cron, one is run as root to make a backup of a directory and the files in it, the second is run as a user to scp files to another box. What

Re: Cron script problem....

2002-12-11 Thread Jack L. Stone
At 08:49 PM 12.11.2002 +0100, Norbert Koch wrote: Jack L. Stone [EMAIL PROTECTED] 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,

RE: Cron script problem....

2002-12-11 Thread Eric Six
-Original Message- From: Norbert Koch [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 1:50 PM To: Jack L. Stone Cc: Eric Six; '[EMAIL PROTECTED]' Subject: Re: Cron script problem Jack L. Stone [EMAIL PROTECTED] writes: Hi! Eric: I'm no script expert, but perhaps if you added

Re: Cron script problem....

2002-12-11 Thread Norbert Koch
Eric Six [EMAIL PROTECTED] writes: That's the last line of the log.. nothing else is run. SCP should be invoked from there... Hmm, everything looks fine. You don't need a return value, so you could try and issue the command as system($SSH, @args) and examine the return code. But this is