Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
38708600
Commit
38708600
authored
Apr 24, 2009
by
tbrehm
Browse files
Changed monitoring module to run rkhunter only once in 24 hours.
parent
45b8e41f
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/mods-available/monitor_core_module.inc.php
View file @
38708600
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment