diff options
author | bmeeks8 <bmeeks8@bellsouth.net> | 2014-12-28 15:56:52 -0500 |
---|---|---|
committer | bmeeks8 <bmeeks8@bellsouth.net> | 2014-12-28 15:56:52 -0500 |
commit | c7b2fcd5a689cec5cd151556f37eabadb0cb286d (patch) | |
tree | 2a91ba44b495fff4f463c45c45fba3406acb3a10 /config/suricata/suricata_ip_list_mgmt.php | |
parent | e21ee2ef12f1302f454df38f030ea8c70dbaa411 (diff) | |
download | pfsense-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.php | 2 |
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); |