Prevent important cronjobs from being disabled
authorAlexander Ebert <ebert@woltlab.com>
Thu, 10 Jan 2019 10:14:09 +0000 (11:14 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 10 Jan 2019 10:14:09 +0000 (11:14 +0100)
See #2709

com.woltlab.wcf/cronjob.xml

index 18c62cd100ea7b4b1d2c74b8a0e20aad21f3686b..c0dd47ff4cd536c1e83e1f9b8fc8ee87fa655ed4 100644 (file)
@@ -10,6 +10,7 @@
                        <startdom>*/2</startdom>
                        <startmonth>*</startmonth>
                        <startdow>*</startdow>
+                       <canbedisabled>0</canbedisabled>
                </cronjob>
                <cronjob name="com.woltlab.wcf.refreshSearchRobots">
                        <classname>wcf\system\cronjob\RefreshSearchRobotsCronjob</classname>
@@ -30,6 +31,7 @@
                        <startdom>*</startdom>
                        <startmonth>*</startmonth>
                        <startdow>*</startdow>
+                       <canbedisabled>0</canbedisabled>
                </cronjob>
                <cronjob name="com.woltlab.wcf.hourlyCleanUp">
                        <classname>wcf\system\cronjob\HourlyCleanUpCronjob</classname>
@@ -40,6 +42,7 @@
                        <startdom>*</startdom>
                        <startmonth>*</startmonth>
                        <startdow>*</startdow>
+                       <canbedisabled>0</canbedisabled>
                </cronjob>
                <cronjob name="com.woltlab.wcf.sessionCleanUp">
                        <classname>wcf\system\cronjob\SessionCleanUpCronjob</classname>
@@ -50,6 +53,7 @@
                        <startdom>*</startdom>
                        <startmonth>*</startmonth>
                        <startdow>*</startdow>
+                       <canbedisabled>0</canbedisabled>
                </cronjob>
                <cronjob name="com.woltlab.wcf.attachmentCleanUp">
                        <classname>wcf\system\cronjob\AttachmentCleanUpCronjob</classname>
@@ -70,6 +74,7 @@
                        <startdom>*</startdom>
                        <startmonth>*</startmonth>
                        <startdow>*</startdow>
+                       <canbedisabled>0</canbedisabled>
                </cronjob>
                <cronjob name="com.woltlab.wcf.lastActivityUpdate">
                        <classname>wcf\system\cronjob\LastActivityCronjob</classname>
@@ -80,6 +85,7 @@
                        <startdom>*</startdom>
                        <startmonth>*</startmonth>
                        <startdow>*</startdow>
+                       <canbedisabled>0</canbedisabled>
                </cronjob>
                <cronjob name="com.woltlab.wcf.userQuit">
                        <classname>wcf\system\cronjob\UserQuitCronjob</classname>
@@ -90,6 +96,7 @@
                        <startdom>*</startdom>
                        <startmonth>*</startmonth>
                        <startdow>*</startdow>
+                       <canbedisabled>0</canbedisabled>
                </cronjob>
                <cronjob name="com.woltlab.wcf.dailyMailNotification">
                        <classname>wcf\system\cronjob\DailyMailNotificationCronjob</classname>
                        <startdom>*</startdom>
                        <startmonth>*</startmonth>
                        <startdow>*</startdow>
+                       <canbedisabled>0</canbedisabled>
                </cronjob>
                <cronjob name="com.woltlab.wcf.moderationQueueCleanup">
                        <classname>wcf\system\cronjob\ModerationQueueCronjob</classname>
                        <startdom>*</startdom>
                        <startmonth>*</startmonth>
                        <startdow>*</startdow>
+                       <canbedisabled>0</canbedisabled>
                </cronjob>
                <cronjob name="com.woltlab.wcf.userBan">
                        <classname>wcf\system\cronjob\UserBanCronjob</classname>
                        <startdom>*</startdom>
                        <startmonth>*</startmonth>
                        <startdow>*</startdow>
+                       <canbedisabled>0</canbedisabled>
                </cronjob>
                <cronjob name="com.woltlab.wcf.articlePublication">
                        <classname>wcf\system\cronjob\ArticlePublicationCronjob</classname>
                        <startdom>*</startdom>
                        <startmonth>*</startmonth>
                        <startdow>*</startdow>
+                       <canbedisabled>0</canbedisabled>
                </cronjob>
        </import>
 </data>