agronholm / agronholm/apscheduler

Cron trigger support for step values greater than the maximum

Offen
#509 6 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
Python
Sterne
7.6k
Forks
783
Ø Merge
4 T. 8 Std.
Gemergte PRs (30 T.)
5

Beschreibung

**Is your feature request related to a problem? Please describe.**
I recently migrated a workload from Vixie cron to APScheduler, and discovered that the cron trigger only supports a subset of the Vixie crontab format.

Specifically, we had a couple of jobs configured with `*/60 * * * *` to run every 60 minutes. I assume this is equivalent to `0 * * * *`. cron accepted this, but APScheduler rejects it: https://github.com/agronholm/apscheduler/blob/d10f20215d8c78e9e2d32d634f276bb89f86ca38/apscheduler/triggers/cron/expressions.py#L34

That particular example isn't that useful, but it turns out that things like `*/90 * * * *` are also allowed.

**Describe the solution you'd like**
It would be nice to support this in APScheduler for greater compatibility with cron.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.