Project

General

Profile

User Guide - BatchesDaemon » History » Version 3

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

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