dbader / schedule

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

add support for crontab expressions #581

Open lerome opened 1 year ago

lerome commented 1 year ago

Add support for any kind of crontab expression #283 #491

For example :

schedule.every().crontab_expression("5 4 * * 2,5", "Europe/Amsterdam").do(job)

Largely inspired by Celery's https://github.com/celery/celery/blob/main/celery/schedules.py

yusefmaali commented 11 months ago

there's a missing dep on pytz blocking the package build. https://github.com/lerome/schedule/pull/1

lerome commented 11 months ago

there's a missing dep on pytz blocking the package build. lerome#1

Right! It's fixed: pytz is now imported only if needed like it is done elsewhere in the schedule package.

alexkutsan commented 8 months ago

Waiting for this PR to me merged. Using temporarly a fork.

LQING27 commented 7 months ago

Great ! I can't wait to use this feature . Hope to see this PR merged soon.

felipereyel commented 4 months ago

+1