Project

General

Profile

User Guide - BatchesDaemon » History » Version 2

chin-yeh, 04/20/2011 04:34 PM

1 1 chin-yeh
h1. User Guide - Batches/Daemon
2 2 chin-yeh
3
h2. PendingEventProcessor
4
5
Retry those events which has the *PENDING* status.
6
7
*How To Use*:
8
* execute the shell script:
9
>/usr/ecosway/daemon/qconnector/pending_event_processor.sh *parameter1*
10
11
>*parameter1* - *hour* - indicate x number of hours *before* if it is negative values, else x number of hours *after*
12
13
h2. EventReport
14
15
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:
16
<pre>
17
/usr/ecosway/daemon/qconnector/config/EventReport.properties
18
</pre>
19
20
*How To Use*:
21
* execute the shell script:
22
>/usr/ecosway/daemon/qconnector/event_report.sh *parameter1* *parameter2*
23
24
> *parameter1* - *status* - generate report based on the status, e.g. INCOMPLETE, PENDING, SYNCED
25
26
> *parameter2* (optional) - *report date* (yyyy-MM-dd) - if not provided, use yesterday's date as report date
27
28
*Report output folder:*
29
<pre>
30
/usr/ecosway/daemon/qconnector/reports
31
</pre>