From 70da583d75bc5a8456a67d0e5fd2cb9fb6b92242 Mon Sep 17 00:00:00 2001 From: doktornotor Date: Sat, 26 Sep 2015 13:11:19 +0200 Subject: Sanitize the cache clear/swapstate rotate cronjob This absolutely should NOT be run every 15 minutes, completely insane. --- config/squid3/34/squid.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/squid3') diff --git a/config/squid3/34/squid.inc b/config/squid3/34/squid.inc index 7a8dba09..b25efb7c 100755 --- a/config/squid3/34/squid.inc +++ b/config/squid3/34/squid.inc @@ -810,7 +810,7 @@ function squid_install_cron($should_install) { $swapstate_cmd = "/usr/local/pkg/swapstate_check.php clean; "; if ($should_install) { if ($settings['clear_cache'] == 'on' ) { - install_cron_job("{$swapstate_cmd}", true, "*/15"); + install_cron_job("{$swapstate_cmd}", true, "*/360"); } else { install_cron_job("{$swapstate_cmd}", false); } -- cgit v1.2.3