Skip to content

Tags: go-co-op/gocron

Tags

v2.21.2

Toggle v2.21.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: defer WithLimitedRuns job removal until task completes (#925) (#926

)

When a job is configured with WithLimitedRuns and reaches its run limit,
the scheduler immediately removes the job, which cancels the context
passed to the task. With non-singleton jobs, selectExecJobsOutCompleted
runs before the user-supplied function executes, so the task ran with an
already-canceled context.

Defer the removal until selectJobTimingUpdate receives the completedAt
update emitted after the task function returns. The runCount is still
incremented at the same point as before, but removeJobCh is no longer
fanned out until the task is actually done.

Signed-off-by: SAY-5 <say.apm35@gmail.com>

v2.21.1

Toggle v2.21.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: remove jobs and respect stopTime in NextRuns when WithStopDateTi…

…me is set (#922)

v2.21.0

Toggle v2.21.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
test: enhancements to testing speed and reliablity (#920)

v2.20.0

Toggle v2.20.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
perf: replace string allocation with bytes.Compare in Jobs() UUID sort (

#914)

v2.19.1

Toggle v2.19.1's commit message

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
Fix broken monitors link in README (#908)

* Initial plan

* docs: fix broken monitors link and encourage contributions

Co-authored-by: JohnRoesler <19351306+JohnRoesler@users.noreply.github.com>

* docs: fix formatting to match existing style

Co-authored-by: JohnRoesler <19351306+JohnRoesler@users.noreply.github.com>

* docs: add implementations sections for Monitor, MonitorStatus, and SchedulerMonitor

Co-authored-by: JohnRoesler <19351306+JohnRoesler@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: JohnRoesler <19351306+JohnRoesler@users.noreply.github.com>

v2.19.0

Toggle v2.19.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
build(deps): bump golangci/golangci-lint-action from 9.1.0 to 9.2.0 (#…

…903)

Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 9.1.0 to 9.2.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](golangci/golangci-lint-action@v9.1.0...v9.2.0)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-version: 9.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

v2.18.2

Toggle v2.18.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: calling start multiple times should no-op (#901)

* fix: calling start multiple times should no-op

* give test more time after start

* add a mutex

v2.18.1

Toggle v2.18.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: WithStartDateTimePast now correctly calculates from past time (#897

)

v2.18.0

Toggle v2.18.0's commit message

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
fix: limit validation for WithLimitedRuns (#893)

Co-authored-by: Maksim Osipov <osipov.maksim39@rwb.ru>
Co-authored-by: John Roesler <johnrroesler@gmail.com>

v2.17.0

Toggle v2.17.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: add WithStartDateTimePast WithStartAt option (#882)