Skip to content

Instantly share code, notes, and snippets.

View claudineien's full-sized avatar

Claudinei E Nascimento claudineien

View GitHub Profile
@mplewis
mplewis / safe_schedule.py
Last active April 23, 2024 01:12
An implementation of Scheduler that catches jobs that fail. For use with https://github.com/dbader/schedule
import logging
from traceback import format_exc
import datetime
from schedule import Scheduler
logger = logging.getLogger('schedule')