robfig / cron

a cron library for go
MIT License
13.15k stars 1.63k forks source link

os time change #521

Open JHJMK opened 6 months ago

JHJMK commented 6 months ago

when os time change,Cron will not determine whether to execute a job based on the current time image

JHJMK commented 6 months ago

you can use *cron.Cron.Entries()[0].Next to set cron next excute time,also can processing time change