""" http://msdn.microsoft.com/en-us/library/windows/desktop/aa383607(v=vs.85).aspx """ import win32com.client scheduler = win32com.client.Dispatch("Schedule.Service") # list user task only # scheduler.Connect() # list all task use (requires full administrator rights) # scheduler.Connect("localhost") scheduler.Connect() objTaskFolder = scheduler.GetFolder("\\") colTasks = objTaskFolder.GetTasks(1) for task in colTasks: print(task.Name) # print(task.Enabled) # print(task.LastRunTime) # print(task.LastTaskResult) # print(task.NextRunTime) # print(task.NumberOfMissedRuns) # print(task.State) # print(task.Path) # print(task.XML)