Thanks Buddy,

I will implement it.

Juan


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Buddy
Sent: miércoles, 27 de febrero de 2013 09:59 a.m.
To: RBASE-L Mailing List
Subject: [RBASE-L] - RE: Running on background

Juan
   Put the entire command into an .RMD file and then use scheduled tasks to
execute it every 24 hours.

Buddy


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Juan Otazú
Sent: Wednesday, February 27, 2013 7:53 AM
To: RBASE-L Mailing List
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