Karen,

 

We make extensive use of batch (cmd) files that invoke R:BASE sessions and
execute a piece of R:BASE code in batch, then exit.  But there are *never*
any forms involved, no user interaction of any kind.

And I see no performance penalties running this way.

 

There must be some other explanation .

 

Emmitt Dove

Manager, DairyPak Business Systems

Evergreen Packaging, Inc.

[EMAIL PROTECTED]

(203) 214-5683 m

(203) 643-8022 o

(203) 643-8086 f

[EMAIL PROTECTED]

 

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, December 04, 2008 1:49 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Running 7.6 code from a batch?

 

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