def _run_job(self, job): try: Scheduler._run_job(self, job) except Exception: print format_exc() job.last_run = datetime.datetime.now() job._schedule_next_run()
def _run_job(self, job): try: Scheduler._run_job(self, job) except Exception: logging.exception("Exception:") job.last_run = datetime.now() job._schedule_next_run()