def __init__(self, session_manager, interval):
self.session_manager = session_manager<EOL>self.interval = interval  <EOL>self._enabled = False<EOL>self.service = StoppableScheduledExecutor(self.run,<EOL>interval=self.interval)<EOL>
:param sessionmanager: a ValidatingSessionManager
:param interval:  a time interval, in seconds