You are on page 1of 1

JIGSAW TECHNICAL NOTES – How To Manually Run Summarizer.

rb

Purpose

The purpose of this document is to provide a guide on how to manually run


summarizer.rb.

How To Manually Run Summarizer.rb

Note: You must be on the primary server to perform the following tasks.

Step 1: Go to /opt/Jigsaw/Library/jmineops/lib.

Step 2: In order to see what summarizer.rb is doing, type export


JAMS_LOG_STDERR=1.

Step 3: To run summarizer.rb for a specific date range, type ruby summarizer.rb
‘YYYY-MM-DD HR:MN:SC’ ‘YYYY-MM-DD HR:MN:SC’.

Example: The following example runs summarizer.rb for shift a and shift b during the
days 12, 13, and 14 of December 2008: ruby summarizer.rb ‘2008-12-12 00:00:01’
‘2008-12-14 23:59:01.

Notes:
- If the hour information is not included with the dates, all shifts in the day will be
summarized.
- For further assistance with running summarizer.rb type the following help command,
ruby summarizer.rb help.

1 1

1 of 1

You might also like