Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting stuck in Task Scheduler
Message
From
29/01/2014 09:40:44
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2008
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01592512
Message ID:
01592546
Views:
48
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform