Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Best way to Run a PRG at a given time..
Message
From
10/05/2004 18:18:04
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
10/05/2004 11:13:06
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00902440
Message ID:
00902632
Views:
12
I just use the Windows Scheduler - mainly to do a backup at midnight.

Since I do this on the development machine, I just run the PRG - no EXE is required. An EXE is required if you want to run it on another machine where you don't have VFP installed.

While you can run your own scheduler application, with a Timer object, that would be one more program running - perhaps the Windows Scheduler is already running anyway, and even if it is not, it is probably more light-weight than anything you can create yourself. Also, its scheduling is extremely flexible - it would be very tricky just to emulate it in VFP, let alone improve it.

>I was wondering if anyone had a thoughts or examples on the best way to run a routine everyday at a certain time.. Use Windows's Scheduler?? Timer Class etc..
>
>Also any examples of how to implement it would be nice as I have the routine but not sure of what I should do now.
>
>THank's
>
>Paul
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform