Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | <?xml version="1.0" encoding="iso-8859-1" ?> |
2 | ||
3 | <table> | |
4 | <base>CRM/Core</base> | |
5 | <class>JobLog</class> | |
6 | <name>civicrm_job_log</name> | |
7 | <comment>Scheduled jobs log.</comment> | |
8 | <add>4.1</add> | |
9 | <log>false</log> | |
10 | <field> | |
8f069c03 EM |
11 | <name>id</name> |
12 | <type>int unsigned</type> | |
13 | <required>true</required> | |
0d57e900 | 14 | <title>Job Log ID</title> |
8f069c03 EM |
15 | <comment>Job log entry Id</comment> |
16 | <add>4.1</add> | |
6a488035 TO |
17 | </field> |
18 | <primaryKey> | |
8f069c03 EM |
19 | <name>id</name> |
20 | <autoincrement>true</autoincrement> | |
6a488035 TO |
21 | </primaryKey> |
22 | <field> | |
8f069c03 | 23 | <name>domain_id</name> |
0d57e900 | 24 | <title>Domain ID</title> |
8f069c03 EM |
25 | <type>int unsigned</type> |
26 | <required>true</required> | |
27 | <pseudoconstant> | |
28 | <table>civicrm_domain</table> | |
29 | <keyColumn>id</keyColumn> | |
30 | <labelColumn>name</labelColumn> | |
31 | </pseudoconstant> | |
32 | <comment>Which Domain is this scheduled job for</comment> | |
33 | <add>4.1</add> | |
6a488035 TO |
34 | </field> |
35 | <foreignKey> | |
8f069c03 EM |
36 | <name>domain_id</name> |
37 | <table>civicrm_domain</table> | |
38 | <key>id</key> | |
39 | <add>4.1</add> | |
3c7d2158 | 40 | </foreignKey> |
6a488035 | 41 | <field> |
8f069c03 EM |
42 | <name>run_time</name> |
43 | <type>timestamp</type> | |
0d57e900 | 44 | <title>Timestamp</title> |
8f069c03 EM |
45 | <comment>Log entry date</comment> |
46 | <add>4.1</add> | |
6a488035 TO |
47 | </field> |
48 | <field> | |
8f069c03 | 49 | <name>job_id</name> |
0d57e900 | 50 | <title>Job ID</title> |
8f069c03 EM |
51 | <type>int unsigned</type> |
52 | <comment>Pointer to job id - not a FK though, just for logging purposes</comment> | |
53 | <add>4.1</add> | |
6a488035 TO |
54 | </field> |
55 | <field> | |
8f069c03 | 56 | <name>name</name> |
0d57e900 | 57 | <title>Job Name</title> |
8f069c03 EM |
58 | <type>varchar</type> |
59 | <length>255</length> | |
60 | <comment>Title of the job</comment> | |
61 | <add>4.1</add> | |
6a488035 TO |
62 | </field> |
63 | <field> | |
8f069c03 | 64 | <name>command</name> |
0d57e900 | 65 | <title>Command</title> |
8f069c03 EM |
66 | <type>varchar</type> |
67 | <length>255</length> | |
68 | <comment>Full path to file containing job script</comment> | |
69 | <add>4.1</add> | |
6a488035 TO |
70 | </field> |
71 | <field> | |
8f069c03 | 72 | <name>description</name> |
0d57e900 | 73 | <title>Description</title> |
8f069c03 EM |
74 | <type>varchar</type> |
75 | <length>255</length> | |
76 | <comment>Title line of log entry</comment> | |
77 | <add>4.1</add> | |
6a488035 TO |
78 | </field> |
79 | <field> | |
8f069c03 | 80 | <name>data</name> |
0d57e900 | 81 | <title>Extended Data</title> |
8f069c03 EM |
82 | <type>text</type> |
83 | <comment>Potential extended data for specific job run (e.g. tracebacks).</comment> | |
84 | <add>4.1</add> | |
3c7d2158 | 85 | </field> |
6a488035 | 86 | </table> |