ssh aus cron-script

Florian Lohoff flo at rfc822.org
Tue Apr 23 10:58:03 CEST 2002


On Tue, Apr 23, 2002 at 09:21:49AM +0200, Andre Landwehr wrote:
> On Mon, Apr 22, 2002 at 11:48:40PM +0200, Florian Lohoff wrote:
> > Kannst du mal dein crontab eintrag und evtl das ganze script hier
> > verkuenden ?
> 
> PATH=$PATH:/bin:/usr/bin:/sbin
> # Write my IP to file on FH servers every 5 minutes when online
> */2 8-20 * * 1-5    ifconfig |grep ppp0 && ifconfig |grep P-t-P |tr -s " " |cut -d " " -f 4| cut -d ":" -f 2 >/tmp/home_ip && scp -oBatchMode=yes /tmp/home_ip alandweh at paul.inform.fh-hannover.de: 

Und du meinst nicht das DAS nach dem passwort fragt ? Wenn der loslegt
sind die ENV vars fuer den agent nicht gesetzt und ggfs sind die
identitiys noch nicht einmal geladen.

Flo
-- 
Florian Lohoff                  flo at rfc822.org             +49-5201-669912
Nine nineth on september the 9th              Welcome to the new billenium
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://lug-owl.de/pipermail/linux/attachments/20020423/a38d5b74/attachment.sig>


More information about the Linux mailing list