Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting stuck in Task Scheduler
Message
De
29/01/2014 09:40:44
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2008
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01592512
Message ID:
01592546
Vues:
54
>Most of the troubles I've had with the scheduler arose when the program uses logical drives. You can solve this by wrapping the .exe into a .bat file and "net use" the logical drives before you call the program.

Also, the environment in which the task runs is that of the account it's running as, with all the settings and rights belonging to that account. Also, the folder in which it runs is probably %system% unless specified. So it may run perfectly when run as-is, and run into many obstacles when running as a scheduled task. Full of gotchas in there.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform