-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreport_details.xml
44 lines (41 loc) · 1.57 KB
/
report_details.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?xml version="1.0"?>
<input_details>
<!-- Enter the platform for your system - windows, osx or linux -->
<platform>
<system>WINDOWS</system>
</platform>
<!-- Enter the database connection detials - user, password, host and database -->
<dbconnection>
<user>atharva</user>
<password>atharva123</password>
<host>localhost</host>
<dbname>squareinch</dbname>
</dbconnection>
<!-- Enter your email-id,password, smtp and port details to activate mailing services -->
<mailer>
<sender>[email protected]</sender>
<pwd>Atharva123!</pwd>
<smtp>smtp.gmail.com</smtp>
<port>587</port>
</mailer>
<!-- Enter the reports with title, sql queries (i.e. to be fired), location of excel file (where it is to be saved) and recievrs (to whom the file is to be mailed,)-->
<!-- Set the fire_sql to Y if you want to fire the sql or else N -->
<!-- Set the sent_mail to Y if you want to send a mail of the report or else N -->
<!-- please note multiple recievers to be mentioned as comma seperated values for eg. [email protected]. [email protected] -->
<report>
<title>Employee Report</title>
<sql>select * from employees</sql>
<fire_sql>y</fire_sql>
<location>C:\Users\Atharva\Documents\demo.xlsx</location>
<send_mail>Y</send_mail>
<reciever>[email protected]</reciever>
</report>
<report>
<title>Students Report</title>
<sql>select * from students</sql>
<fire_sql>Y</fire_sql>
<location>C:\Users\Atharva\Documents\hello.xlsx</location>
<send_mail>Y</send_mail>
<reciever>[email protected]</reciever>
</report>
</input_details>