Karen,
 Have you tried this without the scheduler or is it always called via the 
scheduler?   I have an app that kept throwing access violation errors. (A post 
from a couple of weeks back)  Ths app was ran through the windows scheduler 
with the user as Adminstrator.   9 times out of ten it ran OK, but would 
occasionally throw an error and the EXE would not drop from the task manager.

I have since ran the exact same code with no changes via manually, i.e. not 
through the scheduler for two weeks and not one error has presented itself.  It 
appears something within the scheduler and Rbase does not like each other?  
After this week, my test plan is to go back to the scheduler to see if errors 
start again.  This however is a compiled EXE and not a batch file.

Does it run OK outside the task scheduler?
-Bob

--
Thompson Technology Consultants 
LaPorte, IN 46350 
219-363-7441

-------------- Original message -------------- 
From: "Bill Downall" <[EMAIL PROTECTED]> 
Karen,


Does your scheduled task have a log in user with enough rights?


Could Windows security be protecting you from yourself? I found a situation 
where after a recent Windows server update, Windows was killing two batch 
processes that ran "unknown" exes, including rbg76.exe or rbg80.exe. I had to 
put them in a trusted list.  


Bill


On Thu, Dec 4, 2008 at 1:48 PM, <[EMAIL PROTECTED]> wrote:

I'm sitting here with another consultant.  We have a pretty big piece of batch 
processing code that can be run from within a 7.6 form.  It takes 1 minute to 
run, which the client is happy with.

However, we also want to call this exact piece of code in a scheduled task.  He 
uses a batch file that calls 7.6.exe passing the program name to run.    This 
program simply runs the code I mention above, followed by an EXIT & RETURN.  We 
see 2 problems:

1.    RBase does not exit; it hangs.   If we manually close it, then it 
continues with the rest of the batch file.

2.    The code itself takes about 10 times slower to go through from within the 
batch file than it does when run from the form.

Has anyone any experience with running from a batch file?

Karen

Reply via email to