Juan:  For a once-a-day procedure, I would really recommend that you instead
set up a system Scheduled Task instead.   Your scheduled task can call a 
batch file to run RBase and call a specific program such as this (this is out of
memory so syntax might not be right):
    c:\rbti\rbg95\rbg95.exe  o:\databasedirctory\runprocedure.rmd


Karen

 

 

 

-----Original Message-----
From: Juan Otazú <[email protected]>
To: RBASE-L Mailing List <[email protected]>
Sent: Wed, Feb 27, 2013 6:53 am
Subject: [RBASE-L] - Running on background


Hi,

I'am using 9.5 (32), I need to run an automatic process every day at 03:00AM
on a PC (like a server) to update some tables and generate a event log about
it.

I try to use a form like a "waiting screen" with the information of:
- the next moment to run.
- the event log updated (using a enhanced DB Grid)
- a STOP button to cancel the waiting loop.

The loop to wait is this:

SET VAR vmomentoproceso=(DATETIME(.vfechaproceso, .vhoraproceso))

-- Se mantiene en un loop hasta alcanzar el momento de proceso
LABEL inicio
WHILE (DATETIME(.#DATE, .#TIME)) < .vmomentoproceso THEN
      PAUSE FOR 60
ENDWHILE
.
... The process here...
.


I put the entire command on after start EEP.

The screen freeze and I can't use the screen form (to stop, see the event
log, etc).

Please, any idea how to manage it?

Thanks.
Juan Otazú



 

Reply via email to