Commit c746e185 authored by Florian Schaal's avatar Florian Schaal
Browse files

add functions to 550-bind_dnssec.inc.php (see...

add functions to 550-bind_dnssec.inc.php (see https://www.howtoforge.com/community/threads/dnssec-problem-expire-too-soon-ispconfig-3-1.74682/#post-351381)
parent 79a8398a
......@@ -35,6 +35,23 @@ class cronjob_bind_dnssec extends cronjob {
// job schedule
protected $_schedule = '30 3 * * *'; //daily at 3:30 a.m.
protected $_run_at_new = true;
private $_tools = null;
/* this function is optional if it contains no custom code */
public function onPrepare() {
global $app;
parent::onPrepare();
}
/* this function is optional if it contains no custom code */
public function onBeforeRun() {
global $app;
return parent::onBeforeRun();
}
private function increase_serial($serial){
global $app, $conf;
......@@ -84,6 +101,13 @@ class cronjob_bind_dnssec extends cronjob {
parent::onRunJob();
}
/* this function is optional if it contains no custom code */
public function onAfterRun() {
global $app;
parent::onAfterRun();
}
}
?>
\ No newline at end of file
?>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment