How is the actual XML fed into Task Scheduler? #986
Replies: 1 comment 2 replies
-
The |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm able to import an XML file into Task Scheduler using
TaskService.Instance.RootFolder.ImportTask("taskName", "filePath");
;
However, with
// Create a Task using XML with user information
TaskService.Instance.RootFolder.RegisterTask("NewTask1", xml, TaskCreation.Create,
"SYSTEM", null, TaskLogonType.SystemAccount);
how is Task Scheduler getting the actual XML in order to register a new task?
Beta Was this translation helpful? Give feedback.
All reactions