Project

General

Profile

Actions

User Guide - Batches/Daemon

PendingEventProcessor

Retry those events which has the PENDING status.

Files:

/opt/ecosway/daemon/qconnector/classes/com/ecosway/ecosadaptor/daemon/PendingEventProcessor.class
/opt/ecosway/daemon/qconnector/config/PendingEventProcessor-context.xml
/opt/ecosway/daemon/qconnector/config/PendingEventProcessor.properties

How To Use:
  • execute the shell script:

/opt/ecosway/daemon/qconnector/scripts/pending_event_processor.sh parameter1

parameter1 - hour - indicate x number of hours before if it is negative values, else x number of hours after

EventReport

Generate report based on the status. If the report is generated successfully, it will send the report to the recipient(s) which stated in the file:

/opt/ecosway/daemon/qconnector/config/EventReport.properties

Files:

/opt/ecosway/daemon/qconnector/classes/com/ecosway/ecosadaptor/daemon/EventReport.class
/opt/ecosway/daemon/qconnector/config/EventReport-context.xml
/opt/ecosway/daemon/qconnector/config/EventReport.properties

How To Use:
  • execute the shell script:

/opt/ecosway/daemon/qconnector/scripts/event_report.sh parameter1 parameter2

parameter1 - status - generate report based on the status, e.g. INCOMPLETE, PENDING, SYNCED

parameter2 (optional) - report date (yyyy-MM-dd) - if not provided, use yesterday's date as report date

Report output folder:

/opt/ecosway/daemon/qconnector/reports

Updated by chin-yeh about 13 years ago · 6 revisions