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