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

switch to cronsim for cron parsing #39

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

Conversation

st31ny
Copy link

@st31ny st31ny commented Nov 6, 2024

Avoid DST related bugs, such as those reported in #7.

CronSim is an alternative implementation of cron parsing in python and was (according to its documentation) explicitly designed to follow Debian's cron implementation, including the DST behavior.

My tests look quite promising and the issues I had noticed vanished using no tz parameter. Passing a zoneinfo timezone to the crontab decorator worked, as well as dateutil.tz.tzlocal().

Unfortunately, this is a breaking change since I had to remove croniter_kwargs, of course.

Avoid DST related bugs.
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.

1 participant