Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# run a scheduled task

using (TaskService tasksrvc = new TaskService(@"" + servername, username, domain, password, true))
{       
    Task task = tasksrvc.FindTask(taskSchedulerName);
    task.Run();
}   
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #run #scheduled #task
ADD COMMENT
Topic
Name
4+8 =