dbader / schedule

Python job scheduling for humans.
https://schedule.readthedocs.io/
MIT License
11.86k stars 966 forks source link

Feature request: Run a particular job at every regular interval, except for certain ones #626

Open neomafo88 opened 5 months ago

neomafo88 commented 5 months ago

e.g.

public_holidays = [
    datetime(2024, 6, 19, 0, 1, 0)
]
job = schedule.every().wednesday.at('00:01:00', 'America/Los_Angeles') \
              .except(public_holidays)