From owner-freebsd-questions Fri Apr 14 9:57:26 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.telestream.com (mail.telestream.com [205.238.4.5]) by hub.freebsd.org (Postfix) with ESMTP id 9719237BF0D for ; Fri, 14 Apr 2000 09:57:23 -0700 (PDT) (envelope-from keith@mail.telestream.com) Received: from localhost (keith@localhost) by mail.telestream.com (8.9.3/8.9.3) with ESMTP id KAA21999 for ; Tue, 11 Apr 2000 10:26:52 -0700 Date: Tue, 11 Apr 2000 10:26:52 -0700 (PDT) From: To: freebsd-questions@freebsd.org Subject: cron expect script Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have an expect script that runs fine on a Linux machine but for some reason won't in FreeBSD 4.0-stable. All pathing is fine and the script attempts to run but dies. Here is the mail to root after the script has run in cron. spawn /usr/local/bin/scp /usr/local/apache/cgi-bin/admin/Add-User/LIST core.telestream.com:/bin/Add-User/LIST Connection lost. expect: spawn id exp3 not open while executing "expect "#" {puts Success} " (file "/usr/local/apache/cgi-bin/admin/Add-User/auto-distrib-core.expect" line 11) Keith ================================= I here by change the name of RedHat to RedSplat. Keith W. At the helm ================================= To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message