New answers tagged scheduled-task
As mentioned already you can create task in gui, export and call xml: SCHTASKS /Create /TN "TaskOnEvent" /xml "C:\TaskOnEvent.xml" ...You do NOT have to specify any triggers if you create via the GUI.
Is there a reason why you leave run with highest privileges unchecked? Because this guarantees that your task actually runs with administrative privileges.
I discovered what was wrong. We had two machines with the same IP in our subnet so there was the conflict. Client was trying to connect to some other machine, which did not even listen for XMLRPC protocol. I thought that it works if I wait let's say 15 minutes, but no.. it just randomly worked for a call or two. It all makes sense now.
Top 50 recent answers are included