Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Windows Scheduled Tasks
Message
 
 
To
09/02/2002 03:43:16
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00617857
Message ID:
00617904
Views:
26
>Is there any way to add to the Windows Scheduled Tasks programatically?
>
>TIA
>
Hi Dennis,

You can download 'Automated Task Scheduler Scripts' from http://www.windowsscriptcomponents.com/components/default.asp. This script shows how to create task using WMI. It can be easily adapted for VFP. Here're some usefull related links:
- http://msdn.microsoft.com/library/en-us/wmisdk/r_32os5_1ggy.asp?frame=true
- http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/r_32os5_1qg2.asp

There's also activex control for VBS that allows greater control over task scheduling at http://home.sprintmail.com/~mpryor/tasksch.htm. However I'm not sure if it would work under VFP.

You can also do that using the Task Scheduler API in C++. The Task Scheduler home page is at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/taskschd/ts_portal_690l.asp.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform