Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Automatically running a program every night
Message
De
28/02/2003 18:22:43
 
 
À
26/02/2003 14:32:20
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00758270
Message ID:
00759773
Vues:
13
Thanks Chris,
After our IT head suggested I look at the Server services first, I decided to put a timer on the top level form (with a check to make it run only once!).
Blair

Unless your app is already running 24/7, you'd probably be better served to do it outside the program. NT4 and Win2K both offer scheduling services to run programs at specified times. Our IT head set up several (one to kill leftover .TMP files, one to log out idle connections) and has had no problems with them. You'll have to set your update procedures to run straight up from a command prompt, but that's about it.

If you are running 24/7 already, then an application timer could fire off the procedure only when TIME() was greater than midnight, and make sure you only run it once...

Chris.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform