Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for crontab expressions #581

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

lerome
Copy link

@lerome lerome commented Apr 26, 2023

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 lerome changed the title add support from crontab expressions add support for crontab expressions Jun 6, 2023
@yusefmaali
Copy link

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

@lerome
Copy link
Author

lerome commented Aug 17, 2023

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
Copy link

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

@LQING27
Copy link

LQING27 commented Dec 1, 2023

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

@felipereyel
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants