It works from command line. Problem is when we run it as a cron job. -----Original Message----- From: Andrew Gaffney [mailto:[EMAIL PROTECTED] Sent: Thursday, July 15, 2004 12:57 PM To: beginners Subject: Re: Expect prog. doesn't work in background !
Ravinder Arepally wrote: > All. > > I wrote this perl program using Expect.pm and this program also works > fine in foreground but does NOT work in background (cron job). Any > help is greatly appreciated. Try using full paths to external programs. Cron doesn't always set a usable PATH when it runs scripts. -- Andrew Gaffney Network Administrator Skyline Aeronautics, LLC. 636-357-1548 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response> -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>