mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-03 17:30:11 +00:00
Caps du -s execution using a timeout to prevent long activities
This commit is contained in:
parent
23f08f31ed
commit
fee595eabf
5 changed files with 39 additions and 15 deletions
|
|
@ -30,7 +30,7 @@ local script = {
|
|||
|
||||
-- Defines an hook which is executed every hour
|
||||
function script.hooks.hour(params)
|
||||
local info = storage_utils.storageInfo(true --[[ refresh cache ]])
|
||||
local info = storage_utils.storageInfo(true --[[ refresh cache ]], 120 --[[ Allow a couple of minutes --]])
|
||||
|
||||
-- TODO alert if free disk space is too low
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue