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

Allow seconds in cron string settings #10

Merged
merged 2 commits into from
Jul 24, 2024
Merged

Allow seconds in cron string settings #10

merged 2 commits into from
Jul 24, 2024

Conversation

nezhar
Copy link
Contributor

@nezhar nezhar commented Mar 20, 2024

The syntax for specifying seconds in a cron job is not standardized, as traditional Unix cron does not include a field for seconds. For more information, see https://en.wikipedia.org/wiki/Cron#Cron_expression.

We currently use two libraries with different approaches to specifying seconds:

This pull request removes the cron description from the Admin interface and drops the cron-descriptor library from the requirements. Instead, the syntax of croniter is used, as it ensures that configurations without seconds are still compatible.

@codecov-commenter
Copy link

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

@galipnik
Copy link
Member

Apart from the two comments above: LGTM.

@nezhar nezhar force-pushed the cron_seconds branch 2 times, most recently from 839e97d to 9346d38 Compare July 22, 2024 11:44
Copy link
Member

@galipnik galipnik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@nezhar nezhar merged commit 1156e17 into main Jul 24, 2024
24 checks passed
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

3 participants