Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Windows Task Scheduler
Message
De
21/09/2010 08:59:06
 
 
À
21/09/2010 07:14:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Divers
Thread ID:
01481965
Message ID:
01482131
Vues:
64
Hi Don.

>The errors are both kinds..... connection failures, work files not being created to C00005. If I change the code to error handle and exit that error still won't appear in the task scheduler and we're back to base 1 again with a task that didn't finish / failed and we didn't know about it.

When an error occurs in your app, terminate the app using the Windows API ExitCode function (see http://fox.wikis.com/wc.dll?Wiki~ExitCode~WIN_COM_API). The Windows Task Scheduler will then know that the task failed.

Doug
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform