on Fri, 24 May 2002 18:38:18 GMT, Lance Prais wrote: > If I run the script from the CMD prompt, there are no errors and it > works fine. The issue is if I try to run, it from the windows > scheduler it fails. The reason I am thinking it may be related to my > script is that I have other scripts that are similar that run just > fine. It really is bizarre. > [...] > $cmd = '..\\..\\srvrmgr /g apollo.ts.checkpoint.com /e CHK_ENT_PRD /s > CHK_SBL_PRD /u xxxxxx /p xxxxxx /c "list tasks for server CHK_SBL_PRD > component Email Manager" > ..\\..\\emailmgr.txt'; >[...] > open EMAILMGR, "+<..\\..\\emailmgr.txt" or die "Cannot open email > manager $!\n";
You are using relative paths. Are you sure you are in the right working directory when you run the program from the scheduler? -- felix -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]