以编程方式如何在Windows Server 2008中创建任务计划程序 [英] Programmatically how to create task scheduler in windows server 2008

查看:48
本文介绍了以编程方式如何在Windows Server 2008中创建任务计划程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Windows Xp中运行我的应用程序时,任务计划程序可以正常工作,因为任务文件另存为.job.但是在Windows Server 2008中,任务计划程序文件以XML格式保存.如何获取Xml格式的Task Scheduler?

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?

推荐答案

看看Task Scheduler API http://msdn.microsoft.com/en-us/library/bb736357.aspx

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

这篇关于以编程方式如何在Windows Server 2008中创建任务计划程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆