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 December 19, 2024 08:52
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')