schedule icon indicating copy to clipboard operation
schedule copied to clipboard

add support for crontab expressions

Open lerome opened this issue 2 years ago • 7 comments

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

lerome avatar Apr 26 '23 10:04 lerome

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

yusefmaali avatar Aug 17 '23 10:08 yusefmaali

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.

lerome avatar Aug 17 '23 11:08 lerome

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

alexkutsan avatar Nov 04 '23 08:11 alexkutsan

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

LQING27 avatar Dec 01 '23 03:12 LQING27

+1

felipereyel avatar Mar 05 '24 15:03 felipereyel