Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Task scheduler failed to run .pl scripts but not .bat

Status
Not open for further replies.

new2unix

Programmer
Feb 5, 2001
143
US
Hi,

I set up a Perl script to run once a day by Windows 2003 Task Scheduler for a long time and it has been working until several days ago. Server administor claimed nothing had changed and finally offered a workaround by running the script from a .bat file and create a new task schedule to run this .bat file. It worked. Can anyone speculate what might have happened to cause the original schedule job to fail to run the script directly? The script extension is still associated with ActivePerl to be run directly from the command line.

Thanks,

Mike
 
is the account used to the the scheduled perl script the samer one that was used to to run the .bat file? Check the task scheduler log. It may give some insight as to hy it is failing as well.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top