User Guide - BatchesDaemon » History » Version 4
chin-yeh, 04/20/2011 04:37 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 | 4 | chin-yeh | *Files:* |
10 | <pre> |
||
11 | /usr/ecosway/daemon/qconnector/config/PendingEventProcessor-context.xml |
||
12 | /usr/ecosway/daemon/qconnector/config/PendingEventProcessor.properties |
||
13 | </pre> |
||
14 | |||
15 | 2 | chin-yeh | *How To Use*: |
16 | * execute the shell script: |
||
17 | >/usr/ecosway/daemon/qconnector/pending_event_processor.sh *parameter1* |
||
18 | |||
19 | >*parameter1* - *hour* - indicate x number of hours *before* if it is negative values, else x number of hours *after* |
||
20 | |||
21 | h2. EventReport |
||
22 | |||
23 | 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: |
||
24 | <pre> |
||
25 | 4 | chin-yeh | /usr/ecosway/daemon/qconnector/config/EventReport.properties |
26 | </pre> |
||
27 | |||
28 | *Files:* |
||
29 | <pre> |
||
30 | /usr/ecosway/daemon/qconnector/config/EventReport-context.xml |
||
31 | 2 | chin-yeh | /usr/ecosway/daemon/qconnector/config/EventReport.properties |
32 | </pre> |
||
33 | |||
34 | *How To Use*: |
||
35 | * execute the shell script: |
||
36 | >/usr/ecosway/daemon/qconnector/event_report.sh *parameter1* *parameter2* |
||
37 | |||
38 | > *parameter1* - *status* - generate report based on the status, e.g. INCOMPLETE, PENDING, SYNCED |
||
39 | |||
40 | > *parameter2* (optional) - *report date* (yyyy-MM-dd) - if not provided, use yesterday's date as report date |
||
41 | |||
42 | *Report output folder:* |
||
43 | <pre> |
||
44 | /usr/ecosway/daemon/qconnector/reports |
||
45 | </pre> |