using Microsoft.Win32.TaskScheduler; public static void StartTask() { using (TaskService ts = new TaskService()) { Task t = ts.GetTask(TaskName); if (t != null) { t.Run(); } } }
Task t = ts.GetTask(taskFolder + "\\" + TaskName);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)