RSS

Tag Archives: schtasks

Running SCHTASKS with ONSTART on WS08R2 remotely may not trigger

Ok found out about this today. Here is the story (both are ws08R2)

  • SVR1 – my script server in Singapore
  • SVR2 – the remote server I want to run the scheduled job in London.

I issued the following command at SVR1:

schtasks /CREATE /s SVR2 /ru me /rp pw /sc ONSTART _
/tn Job1 /tr "c:\runme.cmd"

Task got created on SVR2, I reboot the server but Job1 never kicked off after reboot! Why? Read the rest of this entry »

 
1 Comment

Posted by on October 7, 2011 in Windows

 

Tags: ,