0

I have to deploy some Perl automation scripts on a server. But to schedule them I am using Windows Task Scheduler. I have a .bat file in which I have written the command

perl scriptname.pl

Provided the .bat file and script are in same directory which is in D: drive. But the task scheduler always triggers and then gives error that previous instance is already running.

I don't want to override the instance but I cannot see any instance running. Also the script is a selenium script and I am not seeing any browser window which I generally see when the task is triggered by the Scheduler.

The script is working fine on excuting the .bat file directly.

geisterfurz007
  • 5,292
  • 5
  • 33
  • 54
Mohit
  • 608
  • 4
  • 19

0 Answers0