Feature #867

Clean Expire Log en cron

Added by moyo over 14 years ago. Updated over 14 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:moyo% Done:

0%

Category:Common
Target version:0.70

Description

dans login.php :
// Expire Event Log
if ($CFG_GLPIexpire_events > 0) {
$secs = $CFG_GLPIexpire_events * 86400;
$query_exp = "DELETE FROM glpi_event_log WHERE UNIX_TIMESTAMP(date) < UNIX_TIMESTAMP()-$secs";
$result_exp = $DB->query($query_exp);
}

-> a mettre en cron job

History

#1 Updated by moyo over 14 years ago

  • Status changed from New to Closed

(In r4306) Clean Expire Log en cron
fixed #867

Also available in: Atom PDF