[95583] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: Running expect script under cron

daemon@ATHENA.MIT.EDU (Thomas Ribbrock \(Design/DEG\))
Mon Oct 19 14:37:17 1998

Date: Mon, 19 Oct 1998 19:37:46 +0100
From: "Thomas Ribbrock \(Design/DEG\)" <argathin@iname.com>
To: "'redhat-list@redhat.com'" <redhat-list@redhat.com>
Mail-Followup-To: "'redhat-list@redhat.com'" <redhat-list@redhat.com>
In-Reply-To: <D1DC9C040E12D1118B680060081459491F90B9@CAJUN-EXC>; from Mike A. Lewis, CNE on Mon, Oct 19, 1998 at 11:27:34AM -0700
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

Mike A. Lewis, CNE writes:
> 
[ Problems with running an expect script from cron ]

I'd suggest you put your expect script in a separate file and write an
"ordinary" shell script which calls expect with the expect script file as
parameter (I have never used expect, so I can't help you with the syntax
there). In theory that should work.

Just a try...

Thomas
-- 
-----------------------------------------------------------------------------
The opinions expressed | Analog Devices BV,        
in this message are my | Raheen Industrial Estate, Limerick, Ireland         
own personal views!    | http://www.bigfoot.com/~kaytan | ICQ#: 15839919
      


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post