Project

General

Profile

User Guide - BatchesDaemon » History » Revision 4

Revision 3 (chin-yeh, 04/20/2011 04:34 PM) → Revision 4/6 (chin-yeh, 04/20/2011 04:37 PM)

{{toc}} 

 h1. User Guide - Batches/Daemon 

 h2. PendingEventProcessor 

 Retry those events which has the *PENDING* status. 

 *Files:* 
 <pre> 
 /usr/ecosway/daemon/qconnector/config/PendingEventProcessor-context.xml 
 /usr/ecosway/daemon/qconnector/config/PendingEventProcessor.properties 
 </pre> 

 *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> 

 *Files:* 
 <pre> 
 /usr/ecosway/daemon/qconnector/config/EventReport-context.xml 
 /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>