Commit 38708600 authored by tbrehm's avatar tbrehm
Browse files

Changed monitoring module to run rkhunter only once in 24 hours.

parent 45b8e41f
......@@ -701,7 +701,8 @@ class monitor_core_module {
* This monitoring is expensive, so do it only once a hour
*/
$min = date('i');
if ($min != 0) return;
$hour = date('H');
if ($min != 0 && $hour != 23) return;
global $app;
global $conf;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment