[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Executing an expect script
From: |
David Parks |
Subject: |
Executing an expect script |
Date: |
Tue, 15 Nov 2011 09:37:07 -0500 |
I'm monitoring a service that, when failed, needs to run (exec) an expect
script. I see in the monit log that the script looks like it's called, but it
really isn't.
I also tried wrapping the expect script inside a shell script and piped STDOUT
and STDERR to a logfile. The logfile never gets written to.
Running the expect script manually and within cron works, so I believe it
should work by being called from monit.
Am I doing something wrong? How can I debug?
Thanks,
David
- Executing an expect script,
David Parks <=