summaryrefslogtreecommitdiff
path: root/tools/mmd/MmdMaintainance.py
blob: 32a38ba314613d334c55485f144a8e557c2e02ff (plain) (blame)
1
2
3
4
5
6
7
8
#!/usr/bin/env python

import time
from mmd.MmdDb import Db

db = Db ()
print "Deleted {0} expired session(s)".format (db.sessionDeleteExpired (int (time.strftime ('%s'))))
db.close ()