PYTHON task.run

import win32com.client

scheduler = win32com.client.Dispatch('Schedule.Service')
scheduler.Connect()

folders = scheduler.GetFolder('\\')
task = folders.GetTask('tt')
runningTask = task.Run(1)
posted @ 2022-03-27 09:56  CrossPython  阅读(53)  评论(0编辑  收藏  举报