Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Apr 2000 10:26:52 -0700 (PDT)
From:      <keith@mail.telestream.com>
To:        freebsd-questions@freebsd.org
Subject:   cron expect script
Message-ID:  <Pine.LNX.4.10.10004111023490.21951-100000@mail.telestream.com>

next in thread | raw e-mail | index | archive | help
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 <for better or worse>
=================================




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.10.10004111023490.21951-100000>