Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Service program: UI form or not?
Message
De
11/05/2021 16:51:08
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01680248
Message ID:
01680313
Vues:
34
>I would write a bullet proof with serious error logging FoxPro EXE that has no UI and doesn't use a Timer and have it run as a Windows scheduled task every x minutes.

>The Windows Scheduler logs the start of the task and is easier, IMO, to maintain and configure. I've used Windows Scheduler a lot and it works fine. You just have to write a very smart program that cannot fail without writing out an error log.

>Whether a Service can run a VFP EXE with a Form is something that I doubt can happen, but I don't know for sure.
>And in the past I've had trouble with FoxPro Timers where they don't fire.

100% agree, especially about timers not being reliable.
The other thing that will earn trouble is file operations to networked machines.
It is better to only work with files local to the machine where you schedule the task.
If you must go across the network, use UNC names, NOT mapped drives.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform