Programmatically how to create task scheduler in windows server 2008

£可爱£侵袭症+ 提交于 2019-12-13 07:05:16

问题


The task scheduler which works fine when running my application in Windows Xp because task file is saved as .job. But in windows server 2008 the task scheduler file is saving in XML format. How to get the Task scheduler in Xml format?


回答1:


Have a look at Task Scheduler API http://msdn.microsoft.com/en-us/library/aa383614(v=vs.85).aspx or use Schtasks.exe http://msdn.microsoft.com/en-us/library/bb736357.aspx



来源:https://stackoverflow.com/questions/5218482/programmatically-how-to-create-task-scheduler-in-windows-server-2008

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