From owner-freebsd-isp Mon May 14 8:49:55 2001 Delivered-To: freebsd-isp@freebsd.org Received: from mail.sai.co.za (mail.sai.co.za [196.33.40.8]) by hub.freebsd.org (Postfix) with ESMTP id 3050B37B423 for ; Mon, 14 May 2001 08:49:53 -0700 (PDT) (envelope-from davew@sai.co.za) Received: from dave.sai.co.za ([196.33.40.17] helo=dave) by mail.sai.co.za with smtp (Exim 3.22 #1) id 14zKdl-0002h2-00; Mon, 14 May 2001 17:52:09 +0200 From: "David Wilson" To: "FreeBSD Mailing List" Cc: "isp linux" Subject: Telnet + command scripting run from crond Date: Mon, 14 May 2001 17:51:38 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi all, howzit going ? I'm not to good at scripting so I really need help on this: I have a USR NAS device that I need to telnet every 24 hrs and issue a command to it, how could I write a script that I could run as a cron job that would automatically login and issue the commands and then log out again ? Thanks. Any help would be greatly appreciated. Regards David Wilson Technical Support Centre The S.A Internet 0860 100 869 http://www.sai.co.za To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message