'This is the starting point for payday.
This method runs every Thursday. It is structured such that it can be
run again safely (with a newly-instantiated Payday object) if it
crashes.'

def run(self):

    self.db.self_check()
    _start = aspen.utils.utcnow()
    log(u"Greetings,    program!    It's    PAYDAY!!!!")
    if (self.stage < 1):
        self.payin()
        self.mark_stage_done()
    if (self.stage < 2):
        self.update_stats()
        self.mark_stage_done()
    self.end()
    self.notify_participants()
    _end = aspen.utils.utcnow()
    _delta = (_end - _start)
    fmt_past = (u'Script    ran    for    %%(age)s    (%s).' % _delta)
    log(aspen.utils.to_age(_start, fmt_past=fmt_past))
