Re: [foxboro] Operator Action Journal

On Fri, 20 Dec 2002 10:20:47 -0500, "Rick Mol" <rdmol@xxxxxxxxxxxxxxx>
wrote:

> 1.  Can I increase the size of the OAJ.  It saves only the last 500
> entries.

Why do you say it saves only 500 entries? I'm still using the legacy
historian, and the configurator allows me 4 digits for the Maximum Number of
Messages so I put in 9999 for the opraction message group.

> 2.  Failing that, what are the calls to initiate it from a cron job? 
> I'd like to dump to a file every 12 hours.

Here's a snippet of my script to grab things out of the OAJ. You'll have to
come up with the $YY, $MM, and $DD variables yourself (man date), but this
is the basis for what you want to do. Change the start and end time for the
second daily execution.

HIST=hst04a                          # change to the proper historian
OAJGEN=/usr/foxbin/oajgen            # the Ace report script
TMPFILE=/tmp/oajtempfile             # temp output file
STRTIME="$YY-$MM-$DD 00:00"          # start time is 00:00 today
ENDTIME="$YY-$MM-$DD 11:59"          # end time is 11:59
# run the Ace report job to produce the report
$OAJGEN $TMPFILE $HIST '*' '*' '*' "$STRTIME" "$ENDTIME"

Duc

-- 
Duc M. Do
Dow Corning Corp.
Carrollton Plant
Carrollton, KY, US
 
 
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
 
foxboro mailing list:             http://www.freelists.org/list/foxboro
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
 

Other related posts: