Skip to content
Snippets Groups Projects
Commit ec4dd5b9 authored by Alex von Firesplash's avatar Alex von Firesplash
Browse files

DNSSEC-Cronjob should only run on ispconfig master as we are working with...

DNSSEC-Cronjob should only run on ispconfig master as we are working with datalog and not accessing things directly
parent ec1ea49b
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
DNSSEC-Implementation by Alexander Täffner aka dark alex
DNSSEC-Implementation by Alexander Täffner aka dark alex
*/
class cronjob_bind_dnssec extends cronjob {
......@@ -59,6 +59,9 @@ class cronjob_bind_dnssec extends cronjob {
public function onRunJob() {
global $app, $conf;
//* job should only run on ispc master
if($app->db->dbHost != $app->dbmaster->dbHost) return;
//* Load libraries
$app->uses("getconf,tpl");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment