You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// WithContext sets the parent context for the job.// If you set the first argument of your Task func to be a context.Context,// gocron will pass in the provided context to the job and will cancel the// context on shutdown. If you cancel the context the job will no longer be// scheduled as well. This allows you to both control the job via a context// and listen for and handle cancellation within your job.
Job task function now supports passing a ctx if the first argument in your function is a context.Context by @27149chen in #819 & @JohnRoesler in #820
// NewTask provides the job's task function and parameters.// If you set the first argument of your Task func to be a context.Context,// gocron will pass in a context (either the default Job context, or one// provided via WithContext) to the job and will cancel the context on shutdown.// This allows you to listen for and handle cancellation within your job.
Chores
Bump golangci/golangci-lint-action from 6.1.1 to 6.2.0 by @dependabot in #817
renovateBot
changed the title
fix(deps): update module github.com/go-co-op/gocron/v2 to v2.12.0
fix(deps): update module github.com/go-co-op/gocron/v2 to v2.12.1
Sep 20, 2024
renovateBot
changed the title
fix(deps): update module github.com/go-co-op/gocron/v2 to v2.12.1
fix(deps): update module github.com/go-co-op/gocron/v2 to v2.12.2
Oct 31, 2024
renovateBot
changed the title
fix(deps): update module github.com/go-co-op/gocron/v2 to v2.12.2
fix(deps): update module github.com/go-co-op/gocron/v2 to v2.12.3
Oct 31, 2024
renovateBot
changed the title
fix(deps): update module github.com/go-co-op/gocron/v2 to v2.12.3
fix(deps): update module github.com/go-co-op/gocron/v2 to v2.12.4
Nov 20, 2024
renovateBot
changed the title
fix(deps): update module github.com/go-co-op/gocron/v2 to v2.12.4
fix(deps): update module github.com/go-co-op/gocron/v2 to v2.13.0
Dec 12, 2024
renovateBot
changed the title
fix(deps): update module github.com/go-co-op/gocron/v2 to v2.13.0
fix(deps): update module github.com/go-co-op/gocron/v2 to v2.14.0
Dec 17, 2024
renovateBot
changed the title
fix(deps): update module github.com/go-co-op/gocron/v2 to v2.14.0
fix(deps): update module github.com/go-co-op/gocron/v2 to v2.14.1
Jan 7, 2025
renovateBot
changed the title
fix(deps): update module github.com/go-co-op/gocron/v2 to v2.14.1
fix(deps): update module github.com/go-co-op/gocron/v2 to v2.14.2
Jan 9, 2025
renovateBot
changed the title
fix(deps): update module github.com/go-co-op/gocron/v2 to v2.14.2
fix(deps): update module github.com/go-co-op/gocron/v2 to v2.15.0
Jan 23, 2025
In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):
1 additional dependency was updated
The go directive was updated for compatibility reasons
Details:
Package
Change
go
1.21 -> 1.24.0
github.com/jonboulle/clockwork
v0.4.0 -> v0.5.0
renovateBot
changed the title
fix(deps): update module github.com/go-co-op/gocron/v2 to v2.15.0
fix(deps): update module github.com/go-co-op/gocron/v2 to v2.16.0
Feb 25, 2025
renovateBot
changed the title
fix(deps): update module github.com/go-co-op/gocron/v2 to v2.16.0
fix(deps): update module github.com/go-co-op/gocron/v2 to v2.16.1
Mar 14, 2025
renovateBot
changed the title
fix(deps): update module github.com/go-co-op/gocron/v2 to v2.16.1
fix(deps): update module github.com/go-co-op/gocron/v2 to v2.16.2
May 16, 2025
renovateBot
changed the title
fix(deps): update module github.com/go-co-op/gocron/v2 to v2.17.0
fix(deps): update module github.com/go-co-op/gocron/v2 to v2.18.0
Nov 5, 2025
renovateBot
changed the title
fix(deps): update module github.com/go-co-op/gocron/v2 to v2.18.0
fix(deps): update module github.com/go-co-op/gocron/v2 to v2.18.1
Nov 24, 2025
renovateBot
changed the title
fix(deps): update module github.com/go-co-op/gocron/v2 to v2.18.1
fix(deps): update module github.com/go-co-op/gocron/v2 to v2.18.2
Nov 26, 2025
renovateBot
changed the title
fix(deps): update module github.com/go-co-op/gocron/v2 to v2.18.2
fix(deps): update module github.com/go-co-op/gocron/v2 to v2.19.0
Dec 12, 2025
renovateBot
changed the title
fix(deps): update module github.com/go-co-op/gocron/v2 to v2.19.0
fix(deps): update module github.com/go-co-op/gocron/v2 to v2.19.1
Jan 28, 2026
renovateBot
changed the title
fix(deps): update module github.com/go-co-op/gocron/v2 to v2.19.1
fix(deps): update module github.com/go-co-op/gocron/v2 to v2.19.1 - autoclosed
Feb 4, 2026
renovateBot
changed the title
fix(deps): update module github.com/go-co-op/gocron/v2 to v2.19.1 - autoclosed
fix(deps): update module github.com/go-co-op/gocron/v2 to v2.19.1
Feb 10, 2026
renovateBot
changed the title
fix(deps): update module github.com/go-co-op/gocron/v2 to v2.19.1
fix(deps): update module github.com/go-co-op/gocron/v2 to v2.20.0
Apr 6, 2026
renovateBot
changed the title
fix(deps): update module github.com/go-co-op/gocron/v2 to v2.20.0
fix(deps): update module github.com/go-co-op/gocron/v2 to v2.21.0
Apr 14, 2026
renovateBot
changed the title
fix(deps): update module github.com/go-co-op/gocron/v2 to v2.21.0
fix(deps): update module github.com/go-co-op/gocron/v2 to v2.21.1
Apr 21, 2026
renovateBot
changed the title
fix(deps): update module github.com/go-co-op/gocron/v2 to v2.21.1
fix(deps): update module github.com/go-co-op/gocron/v2 to v2.21.2
May 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v2.11.0→v2.21.2Release Notes
go-co-op/gocron (github.com/go-co-op/gocron/v2)
v2.21.2Compare Source
What's Changed
New Contributors
Full Changelog: go-co-op/gocron@v2.21.1...v2.21.2
v2.21.1Compare Source
What's Changed
New Contributors
Full Changelog: go-co-op/gocron@v2.21.0...v2.21.1
v2.21.0Compare Source
What's Changed
Schedule()method onJobinterface by @Copilot in #919Test Suite
Full Changelog: go-co-op/gocron@v2.20.0...v2.21.0
v2.20.0Compare Source
What's Changed
Performance improvements
Fixes
Docs
New Contributors
Full Changelog: go-co-op/gocron@v2.19.1...v2.20.0
v2.19.1Compare Source
What's Changed
NextRun()when multiple jobs complete simultaneously by @barkhayot in #907New Contributors
Full Changelog: go-co-op/gocron@v2.19.0...v2.19.1
v2.19.0Compare Source
What's Changed
Full Changelog: go-co-op/gocron@v2.18.2...v2.19.0
v2.18.2Compare Source
What's Changed
Full Changelog: go-co-op/gocron@v2.18.1...v2.18.2
v2.18.1Compare Source
What's Changed
Full Changelog: go-co-op/gocron@v2.18.0...v2.18.1
v2.18.0Compare Source
What's Changed
Fixes
Chores
New Contributors
Full Changelog: go-co-op/gocron@v2.17.0...v2.18.0
v2.17.0Compare Source
What's Changed
Performance Improvements
Fixes
Chores
New Contributors
Full Changelog: go-co-op/gocron@v2.16.6...v2.17.0
v2.16.6Compare Source
What's Changed
Chores
New Contributors
Full Changelog: go-co-op/gocron@v2.16.5...v2.16.6
v2.16.5Compare Source
What's Changed
errors.Newfor non-formatted strings by @apocelipes in #870Full Changelog: go-co-op/gocron@v2.16.4...v2.16.5
v2.16.4Compare Source
What's Changed
New Contributors
Full Changelog: go-co-op/gocron@v2.16.3...v2.16.4
v2.16.3Compare Source
What's Changed
Full Changelog: go-co-op/gocron@v2.16.2...v2.16.3
v2.16.2Compare Source
What's Changed
Full Changelog: go-co-op/gocron@v2.16.1...v2.16.2
v2.16.1Compare Source
What's Changed
Full Changelog: go-co-op/gocron@v2.16.0...v2.16.1
v2.16.0Compare Source
What's Changed
Bug fixes
Chores
New Contributors
Full Changelog: go-co-op/gocron@v2.15.0...v2.16.0
v2.15.0Compare Source
What's New
context.Contextby @27149chen in #819 & @JohnRoesler in #820Chores
Full Changelog: go-co-op/gocron@v2.14.2...v2.15.0
v2.14.2Compare Source
What's Changed
New Contributors
Full Changelog: go-co-op/gocron@v2.14.1...v2.14.2
v2.14.1Compare Source
What's Changed
Full Changelog: go-co-op/gocron@v2.14.0...v2.14.1
v2.14.0Compare Source
What's Changed
Full Changelog: go-co-op/gocron@v2.13.0...v2.14.0
v2.13.0Compare Source
What's Changed
New Contributors
Full Changelog: go-co-op/gocron@v2.12.4...v2.13.0
v2.12.4Compare Source
What's Changed
Full Changelog: go-co-op/gocron@v2.12.3...v2.12.4
v2.12.3Compare Source
What's Changed
Full Changelog: go-co-op/gocron@v2.12.2...v2.12.3
v2.12.2Compare Source
What's Changed
Full Changelog: go-co-op/gocron@v2.12.1...v2.12.2
v2.12.1Compare Source
What's Changed
Full Changelog: go-co-op/gocron@v2.12.0...v2.12.1
v2.12.0Compare Source
What's Changed
New Contributors
Full Changelog: go-co-op/gocron@v2.11.0...v2.12.0
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.