Skip to content

Commit c746e18

Browse files
committed
1 parent 79a8398 commit c746e18

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

server/lib/classes/cron.d/550-bind_dnssec.inc.php

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff 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+
?>

0 commit comments

Comments
 (0)