'Initializes a new Cron instance.
Note that the thread will not be started automatically, so
you need to call start() manually.
Keyword arguments:
name -- The name of the Cron instance
session -- Currently unused'

def __init__(self, schedule, name=None, session=None):

    threading.Thread.__init__(self)
    self.ALIVE = False
    self.daemon = mailpile.util.TESTING
    self.name = name
    self.session = session
    self.last_run = time.time()
    self.running = 'Idle'
    self.schedule = schedule
    self.sleep = 10
    self.lock = WorkerLock()
