in reply to Cron and Expect.pm
That's because you're trying to call the method log_file on an undefined value in $exp. Check for errors where you create $exp. Also keep in mind that things like PATH and other environment variables can have quite different values than your normal login shell provides.
|
|---|