Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
API_APPRUN issues with windows scheduler?
Message
From
19/06/2008 16:50:22
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
01325528
Message ID:
01325555
Views:
24
>>>I have a application that uses the API_APPRUN class. I have found some issues when I schedule a job to run and no user is signed on. It seems that the launchandwait() method loops. Has anyone experienced this or heard of this being an issue?
>>>
>>>The program that uses the API_APPRUN class works fine if I schedule and stay logged on....
>>
>>What is the OS? What is the exact command you're scheduling to run in the scheduler? Is there enough time between scheduled runs of this task for the task to complete?
>
>1. OS is XP SP2
>2. The command is my VFP exe that uses the API_APPRUN class.
>3. Yes - It runs within 2 Min.

In the scheduler, are you supplying an account name and password that has enough privileges for your app to run as desired? If in doubt you could try using your account credentials.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform