Project

General

Profile

User Guide - BatchesDaemon » History » Revision 2

Revision 1 (chin-yeh, 04/20/2011 04:18 PM) → Revision 2/6 (chin-yeh, 04/20/2011 04:34 PM)

h1. User Guide - Batches/Daemon 

 h2. PendingEventProcessor 

 Retry those events which has the *PENDING* status. 

 *How To Use*: 
 * execute the shell script: 
 >/usr/ecosway/daemon/qconnector/pending_event_processor.sh *parameter1* 

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

 h2. 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: 
 <pre> 
 /usr/ecosway/daemon/qconnector/config/EventReport.properties 
 </pre> 

 *How To Use*: 
 * execute the shell script: 
 >/usr/ecosway/daemon/qconnector/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:* 
 <pre> 
 /usr/ecosway/daemon/qconnector/reports 
 </pre>