Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: Running ssh from bash scripts

From: Conor Daly <conor.daly(at)oceanfree.net>
Date: Thu Mar 06 2003 - 11:01:54 EST

On Wed, Mar 05, 2003 at 01:30:01PM +0100 or so it is rumoured hereabouts, Markus Preller thought:
> Hi,
>
> I'd like to ask for some advice on a topic that's giving me trouble

It's possibly more of a _cron_ specific problem. Include the command "set" at the top of your script to see what the environment looks like at the commandline and to cron. Chances are they are different. Setting your environment explicitely in your script may solve it...

Conor

-- 
Conor Daly 

Domestic Sysadmin :-)
---------------------
Faenor.cod.ie
  4:02pm  up 1 day,  2:56,  0 users,  load average: 0.00, 0.00, 0.00
Hobbiton.cod.ie
  3:58pm  up 1 day,  1:35,  4 users,  load average: 0.05, 0.03, 0.00
Received on Thu Mar 6 15:22:48 2003

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:02:55 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library