Triggering dbclean after run
This commit is contained in:
parent
92afa1bba9
commit
88b6a46cc1
@ -105,7 +105,7 @@ foreach ($results as $result) {
|
||||
$nosave = false;
|
||||
}
|
||||
|
||||
clean_database();
|
||||
if (get_configvalue('dbclean.lastrun') + (60 * 60 * 24 * get_configvalue('dbclean.delay')) < time()) clean_database();
|
||||
|
||||
unlink('/tmp/webcron.lock');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user