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

V3 #5

Open
wants to merge 28 commits into
base: v3-dev
Choose a base branch
from
Open

V3 #5

wants to merge 28 commits into from

Conversation

flebel
Copy link

@flebel flebel commented Jun 7, 2022

No description provided.

Rob Figueiredo and others added 28 commits July 11, 2019 07:49
Add a test to detect it and fix the bug.

Fixes issue robfig#206
Test[Non]LocalTimezone was occasionally specifying an invalid cron spec seconds
field of "59,60", which caused it to subsequently fail. Since rolling the cron
spec forward is hard, in those cases we instead sleep for a couple seconds to
avoid the scenario.

Fixes robfig#205
this makes it possible to use cron with key/value logging systems.

BREAKING: WithVerboseLogger was changed to WithLogger.
Callers should update by invoking:

    WithLogger(VerbosePrintfLogger(logger))

WithVerboseLogger was introduced in the most recent commit, so it's unlikely to
affect many users.

Fixes robfig#202
with cross-cutting concerns

These JobWrappers are provided:
- SkipIfStillRunning skips a job if the previous invocation is still running.
- DelayIfStillRunning blocks a job invocation until the previous one is done.
- Recover, to recover from panics in the job.

BREAKING: This removes the default behavior of recovering from job panics.
That must now be opted-into using WithChain(Recover(logger)).
Having it be the default behavior can be surprising (see issue robfig#192)
and is at odds with most libraries.

Fixes robfig#191
Fixes robfig#192
remove redundant asterisk in example
docs: remove redundant asterisk in example
Let cron depend on interface for parsers instead of fixed parser
Fix changing quartz scheduler site link for README
It was an error in channel scoping that was identified in pull robfig#263.

This adds a unit test to identify that issue and verify the fix.
Add a special character 'L' in the day-of-month field,
which specifies the last day of the month

e.g: '0 0 18 L * ?' denotes the following:

At 6:00:00PM, on the last day of the month, every month
Add support for Last Day of Month ('L')
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.

10 participants