How to schedule a task using win32_schedule job class

喜夏-厌秋 提交于 2019-12-25 18:32:30

问题


I've to create a class which schedules a task to run at specified time. I know it can be achieved by win32_schedule class create method. Can someone please help me in creating a task which opens at a specified date and time?(Code Sample). Help me with the start time parameter(conversions and all)


回答1:


It's not a code sample, but it can help you: http://social.msdn.microsoft.com/Forums/vstudio/en-US/022e4429-56bc-482c-9a67-af484d6978c1/using-windows-scheduled-tasks-in-c?forum=csharpgeneral



来源:https://stackoverflow.com/questions/22498386/how-to-schedule-a-task-using-win32-schedule-job-class

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!