firewall/aliases, set alias update/check interval to 1 minute and align update to configd call. for https://github.com/opnsense/core/issues/2162

This was a bit forgotten, since the new alias update handles all types of aliases using different expiry intervals, we need to make sure we actually probe our changes in time, otherwise it's impossible to expire dns entries within a reasonable timeframe.
This commit is contained in:
Ad Schellevis 2018-02-08 21:14:51 +01:00
parent b5a3ad126b
commit c5555b2ebc

View File

@ -1129,7 +1129,7 @@ function system_cron_configure($verbose = false, $defer = false)
$autocron[] = generate_cron_job('/usr/local/sbin/expiretable -v -t 3600 sshlockout', '2');
$autocron[] = generate_cron_job('/usr/local/sbin/expiretable -v -t 3600 virusprot', '3');
$autocron[] = generate_cron_job('/usr/local/etc/rc.expireaccounts', '5');
$autocron[] = generate_cron_job('/usr/local/opnsense/scripts/filter/update_tables.py', '10');
$autocron[] = generate_cron_job('/usr/local/bin/flock -n -E 0 -o /tmp/filter_update_tables.lock /usr/local/opnsense/scripts/filter/update_tables.py', '*');
/* every now and then */
$autocron[] = generate_cron_job('/usr/local/sbin/ping_hosts.sh', '*/4');