dbader / schedule

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

Support for cron expressions #491

Open Wissperwind opened 2 years ago

Wissperwind commented 2 years ago

Hi,

Nice library. I used it for a while now. But now I need more complex cronjobs. For example monday and tuseday at 20:00. People have developed those cron expressions: https://crontab.guru/#5_4_*_*_2,5 They enyble you to define even complex cron schedules compact and fast. Is there already support for this? Or would you like to add it? schedule.every().parse_expression("5 4 2,5").do(job) Something like that would be verry handy.

ph3ne commented 2 years ago

That's a great idea !