File tree Expand file tree Collapse file tree 1 file changed +25
-1
lines changed
server/lib/classes/cron.d Expand file tree Collapse file tree 1 file changed +25
-1
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,23 @@ class cronjob_bind_dnssec extends cronjob {
3535
3636 // job schedule
3737 protected $ _schedule = '30 3 * * * ' ; //daily at 3:30 a.m.
38+ protected $ _run_at_new = true ;
39+
40+ private $ _tools = null ;
41+
42+ /* this function is optional if it contains no custom code */
43+ public function onPrepare () {
44+ global $ app ;
45+
46+ parent ::onPrepare ();
47+ }
48+
49+ /* this function is optional if it contains no custom code */
50+ public function onBeforeRun () {
51+ global $ app ;
52+
53+ return parent ::onBeforeRun ();
54+ }
3855
3956 private function increase_serial ($ serial ){
4057 global $ app , $ conf ;
@@ -84,6 +101,13 @@ public function onRunJob() {
84101 parent ::onRunJob ();
85102 }
86103
104+ /* this function is optional if it contains no custom code */
105+ public function onAfterRun () {
106+ global $ app ;
107+
108+ parent ::onAfterRun ();
109+ }
110+
87111}
88112
89- ?>
113+ ?>
You can’t perform that action at this time.
0 commit comments