Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting stuck in Task Scheduler
Message
 
To
28/01/2014 16:30:53
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:
01592545
Views:
65
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.

Good luck.

>Hi All:
>
>I have a program that I have compiled into an EXE. It ends off with QUIT. When I execute it by double clicking the EXE, it does what it is supposed to do and exits gracefully. But when I run it from the task scheduler, it gets stuck somewhere in the program. I do not know where, since I have removed all user interface statements like SET MESSAGE. Also the config.fpw has SCREEN=OFF.
>
>Is there a rule about what statements are forbidden when running from the scheduler?
>
>Thanks,
>
>Yossi

If things have the tendency to go your way, do not worry. It won't last. Jules Renard.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform