in reply to Script Failing to Run poperly through Task Scheduler in Windows

This seems like Html not printing my shell command output
Check that raidcom is in the path (print path to any file) when Task Manager exec your task.
I hope this help
Hint: Use code tag to paste your code
  • Comment on Re: Script Failing to Run through Task Scheduler in Windows

Replies are listed 'Best First'.
Re^2: Script Failing to Run through Task Scheduler in Windows
by sreekanth.adari (Initiate) on Feb 05, 2015 at 11:37 UTC
    Thanks a lot for the reply... I copied the script to the correct path and trigger the script using task scheduler. Do I need to write the path as well before the command ?
      I think you can update your PATH with (I did not test this on windows):
      $ENV{PATH}="C:\\xxx\\yyy"
        After specifying the path using $ENV{PATH}="C:\\xxx\\yyy" Please let me know, how I use it to run the command in that path ? My command in my script is in below line : qx(raidcom get port)