Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using Windows Task Scheduler
Message
From
05/05/2004 15:55:02
 
 
To
05/05/2004 14:56:39
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00901305
Message ID:
00901334
Views:
26
>Does anybody know, if there is a way to enter a task to the windows task scheduler via an API or OCX call?
>I know there is the At and the Schtask commandline tool, but it would be great to add, change or delete scheduled tasks in Windows XP and/or Windows 2003 server more internally.
>The purpose for me would be to start an VFP update routine with the task scheduler in the night and it would be great, if I would not have to create an own scheduler with VFP 7.


You can do it through WMI:

http://www.onlinetoolworks.com/docs/winTaskSched.doc
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/win32_scheduledjob.asp
http://www.myitforum.com/articles/11/view.asp?id=2720
http://www.tek-tips.com/gviewthread.cfm/pid/713/qid/356060

HTH


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform