aboutsummaryrefslogtreecommitdiffstats
path: root/config/suricata/suricata_ip_list_mgmt.php
diff options
context:
space:
mode:
authorbmeeks8 <bmeeks8@bellsouth.net>2014-12-28 15:56:52 -0500
committerbmeeks8 <bmeeks8@bellsouth.net>2014-12-28 15:56:52 -0500
commitc7b2fcd5a689cec5cd151556f37eabadb0cb286d (patch)
tree2a91ba44b495fff4f463c45c45fba3406acb3a10 /config/suricata/suricata_ip_list_mgmt.php
parente21ee2ef12f1302f454df38f030ea8c70dbaa411 (diff)
downloadpfsense-packages-c7b2fcd5a689cec5cd151556f37eabadb0cb286d.tar.gz
pfsense-packages-c7b2fcd5a689cec5cd151556f37eabadb0cb286d.tar.bz2
pfsense-packages-c7b2fcd5a689cec5cd151556f37eabadb0cb286d.zip
Check for ET IQRisk update once every 6 hours instead of once daily.
Diffstat (limited to 'config/suricata/suricata_ip_list_mgmt.php')
-rw-r--r--config/suricata/suricata_ip_list_mgmt.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/suricata/suricata_ip_list_mgmt.php b/config/suricata/suricata_ip_list_mgmt.php
index ca7f85cf..37decaad 100644
--- a/config/suricata/suricata_ip_list_mgmt.php
+++ b/config/suricata/suricata_ip_list_mgmt.php
@@ -101,7 +101,7 @@ if ($_POST['save']) {
/* Toggle cron task for ET IQRisk updates if setting was changed */
if ($config['installedpackages']['suricata']['config'][0]['et_iqrisk_enable'] == 'on' && !suricata_cron_job_exists("/usr/local/pkg/suricata/suricata_etiqrisk_update.php")) {
- install_cron_job("/usr/bin/nice -n20 /usr/local/bin/php -f /usr/local/pkg/suricata/suricata_etiqrisk_update.php", TRUE, 0, 0, "*", "*", "*", "root");
+ install_cron_job("/usr/bin/nice -n20 /usr/local/bin/php -f /usr/local/pkg/suricata/suricata_etiqrisk_update.php", TRUE, 0, "*/6", "*", "*", "*", "root");
}
elseif ($config['installedpackages']['suricata']['config'][0]['et_iqrisk_enable'] == 'off' && suricata_cron_job_exists("/usr/local/pkg/suricata/suricata_etiqrisk_update.php"))
install_cron_job("/usr/local/pkg/suricata/suricata_etiqrisk_update.php", FALSE);