Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scheduler system or windows scheduler?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01186787
Message ID:
01186801
Views:
13
Victor,

You can use DOS command AT (start MSDOS session and type "help AT") to schedule commands and programs to run on a computer at a specified time and date.

Also several Windows API function exist that can be called from VFP application for exactly the same purpose: scheduling commands and programs.

NetScheduleJobAdd
NetScheduleJobDel
NetScheduleJobEnum

Code sample (membership required):

Adding and deleting Scheduled Tasks using NetScheduleJob API
http://www.news2news.com/vfp/?example=490
Previous
Reply
Map
View

Click here to load this message in the networking platform