Merge pull request #16946 from civicrm/5.24
[civicrm-core.git] / xml / schema / Core / Job.xml
index 5573648e25ff17b2b4c683c2a5fd02f92212f240..45429a4afff94779db49007f4b3ea5cb95734ee5 100644 (file)
@@ -9,6 +9,7 @@
   <log>false</log>
   <field>
     <name>id</name>
+    <title>Job ID</title>
     <type>int unsigned</type>
     <required>true</required>
     <comment>Job Id</comment>
@@ -20,6 +21,7 @@
   </primaryKey>
   <field>
     <name>domain_id</name>
+    <title>Job Domain</title>
     <type>int unsigned</type>
     <required>true</required>
     <pseudoconstant>
@@ -38,6 +40,7 @@
   </foreignKey>
   <field>
     <name>run_frequency</name>
+    <title>Job Frequency</title>
     <type>varchar</type>
     <length>8</length>
     <default>"Daily"</default>
   </field>
   <field>
     <name>last_run</name>
-    <type>datetime</type>
+    <type>timestamp</type>
     <default>NULL</default>
+    <required>false</required>
     <comment>When was this cron entry last run</comment>
     <add>4.1</add>
   </field>
+  <field>
+    <name>scheduled_run_date</name>
+    <type>timestamp</type>
+    <default>NULL</default>
+    <required>false</required>
+    <comment>When is this cron entry scheduled to run</comment>
+    <add>4.7</add>
+  </field>
   <field>
     <name>name</name>
+    <title>Job Name</title>
     <type>varchar</type>
     <length>255</length>
     <comment>Title of the job</comment>
@@ -66,6 +79,7 @@
   </field>
   <field>
     <name>description</name>
+    <title>Job Description</title>
     <type>varchar</type>
     <length>255</length>
     <comment>Description of the job</comment>
@@ -82,6 +96,7 @@
   </field>
   <field>
     <name>api_entity</name>
+    <title>API Entity</title>
     <type>varchar</type>
     <length>255</length>
     <comment>Entity of the job api call</comment>
   </field>
   <field>
     <name>api_action</name>
+    <title>API Action</title>
     <type>varchar</type>
     <length>255</length>
     <comment>Action of the job api call</comment>
   </field>
   <field>
     <name>parameters</name>
+    <title>API Parameters</title>
     <type>text</type>
     <comment>List of parameters to the command.</comment>
     <html>
   </field>
   <field>
     <name>is_active</name>
+    <title>Job Is Active?</title>
     <type>boolean</type>
     <comment>Is this job active?</comment>
     <add>4.1</add>