Skip to content

Conversation

taraspos
Copy link
Collaborator

@taraspos taraspos commented Jul 20, 2025

Summary

Con package robfig/cron/v3 doesn't support non-standard seconds configuration (which was supported by robfig/cron/v1). This PR configures backward compatible behavior where seconds are still accepted, but not required.1

This PR also:

  • Fixes cron format parsing error logging
  • Adds additional cron format parsing test
  • Updates documentation regarding cron schedule format

Footnotes

  1. https://pkg.go.dev/github.com/robfig/cron/v3@v3.0.1#readme-upgrading-to-v3-june-2019

@taraspos taraspos merged commit 6cc3a18 into master Jul 20, 2025
5 checks passed
@taraspos taraspos deleted the taras/cron-backward-compatibility branch July 20, 2025 20:37
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.

Version 0.4.0-beta can not register jobs any longer
2 participants