File tree 3 files changed +4
-3
lines changed
3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ module cheek-turner
3
3
go 1.21
4
4
5
5
require (
6
- github.com/adhocore/gronx v1.8.1
6
+ github.com/adhocore/gronx v1.19.3
7
7
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc
8
8
github.com/glebarez/go-sqlite v1.22.0
9
9
github.com/hashicorp/consul/api v1.28.2
Original file line number Diff line number Diff line change 1
1
filippo.io/edwards25519 v1.1.0 h1:FNf4tywRC1HmFuKW5xopWpigGjJKiJSV0Cqo0cJWDaA =
2
2
filippo.io/edwards25519 v1.1.0 /go.mod h1:BxyFTGdWcka3PhytdK4V28tE5sGfRvvvRV7EaN4VDT4 =
3
3
github.com/DataDog/datadog-go v3.2.0+incompatible /go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ =
4
- github.com/adhocore/gronx v1.8.1 h1:F2mLTG5sB11z7vplwD4iydz3YCEjstSfYmCrdSm3t6A =
5
- github.com/adhocore/gronx v1.8.1 /go.mod h1:7oUY1WAU8rEJWmAxXR2DN0JaO4gi9khSgKjiRypqteg =
4
+ github.com/adhocore/gronx v1.19.3 h1:BNl3pGgiKy12Tt1dNIhzEGL2l+KikeV6NN3A/B2AJLg =
5
+ github.com/adhocore/gronx v1.19.3 /go.mod h1:7oUY1WAU8rEJWmAxXR2DN0JaO4gi9khSgKjiRypqteg =
6
6
github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc /go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc =
7
7
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 /go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc =
8
8
github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf /go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0 =
Original file line number Diff line number Diff line change @@ -250,6 +250,7 @@ func (j *JobSpec) loadRunsFromDb(nruns int, includeLogs bool) {
250
250
251
251
func (j * JobSpec ) setNextTick (refTime time.Time , includeRefTime bool ) error {
252
252
if j .Cron != "" {
253
+ refTime , _ = time .Parse (time .RFC3339 , refTime .Format (time .RFC3339 ))
253
254
t , err := gronx .NextTickAfter (j .Cron , refTime , includeRefTime )
254
255
j .nextTick = t
255
256
return err
You can’t perform that action at this time.
0 commit comments