-
### Describe the bug
Please help me to understand how Elector should work. In example below my leader pass leadership (IsLeader returns non nil error) and I expect IsLeader to be called again to ch…
-
### Describe the bug
Singleton jobs can fail to get rescheduled due to a channel error causing the executioner to never rerun the job and raise no error.
There is a race condition in the executi…
-
### Describe the bug
The time reported by `NextRun` isn't right when running `WithSingletonMode` and `WithStartDateTime`. For instance, suppose we have a job that starts at time `t` (in the future) a…
-
### Describe the bug
When I tried to update a job(copy from the example), it returns an error: gocron: wrong list of params.
### To Reproduce
```go
func update() error{
task := func(in …
-
gocron v1.37.0 fails to parse the duration `@every 3d`
and instead, i have to use `@every 72h`
> `Error: gocron: cron expression failed to be parsed: failed to parse duration @every 3d: time: un…
-
How to schedule job to run on every 2nd thursday of month at 10:10 AM using gocron v1 or v2 using cron expression or predefined functions.
I tried multiple ways but it did not work.Can someone plea…
-
### Discussed in https://github.com/go-co-op/gocron/discussions/666
Originally posted by **kishenpatel** February 1, 2024
Hey team! I am trying to leverage the job .RunNow() command but even …
-
### Describe the bug
use this code run cron scheduler,CPU usage 100% and next schedule is blocking after the system time is changed.
```
package main
import (
"github.com/go-co-op/gocron"
…
-
### Describe the bug
Dear gocron community, Firstly thank you for a nice package.
i would like to report a probably strange issue where one of the job registered to the scheduler runs the job fu…
-
### Describe the bug
When I add a new job (let's say j) and after that calling j.NextRun(), it fails unpredictable with ErrJobNotFound.
### To Reproduce
Steps to reproduce the behavior:
``…