From 2e3873a265e9d1daa9f2e27798329d90b6de5ae3 Mon Sep 17 00:00:00 2001 From: Riccardo Bicelli Date: Thu, 8 Jul 2021 21:39:18 +0200 Subject: [PATCH] Fixed Issue #79 --- pfsense_zbx.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pfsense_zbx.php b/pfsense_zbx.php index c0a1bd4..070ec7f 100644 --- a/pfsense_zbx.php +++ b/pfsense_zbx.php @@ -196,8 +196,8 @@ function pfz_speedtest_cron(){ //installs a cron job for speedtests function pfz_speedtest_cron_install($enable=true){ //Install Cron Job - $command = "/usr/local/bin/php " . __FILE__ . " speedtest_cron"; - install_cron_job($command, $enable, $minute = "*/15", "*", "*", "*", "*", "root", false); + $command = "/usr/local/bin/php " . __FILE__ . " speedtest_cron"; + install_cron_job($command, $enable, $minute = "*/15", "*", "*", "*", "*", "root", true); }