cron icon indicating copy to clipboard operation
cron copied to clipboard

a cron library for go

Results 150 cron issues
Sort by recently updated
recently updated
newest added

To provide backward compatibility with older cron implementations such as https://linux.die.net/man/5/crontab.

when os time change,Cron will not determine whether to execute a job based on the current time ![image](https://github.com/robfig/cron/assets/70953452/16d6ca71-0063-4198-8367-037a4007450a)

How to schedule job to run on every 2nd thursday of month at 10:10 AM using cron expression or predefined functions. I tried multiple ways but it did not work.Tried...

would be nice to use `@every 3d` instead of `@every 72h` or `@every 2w` instead of `@every 336h` because days and weeks are easy to define, months and years are...

Added context in Run and Start #318

I would like to get the command inserted to the cron, how can i do that? I can iterate all the entries but I found no method to get the...

``` parser := cron.NewParser( cron.Second | cron.Minute | cron.Hour | cron.Dom | cron.Month | cron.Dow | cron.Descriptor, ) c := cron.New(cron.WithParser(parser)) // 0 0 */5 * * c.AddFunc("0 0 0...

It's been a long time since version 3.0.1 Tag. When will the new version come out??

This PR adds the `ScheduleEntryNow` function to the `Cron` struct to immediately schedule an entry to be run. The intention behind this addition is to enable entries to be run...

I got this error on Docker using linux/arm64, on linux/amd64 everything is working fine ``` Cron schedule: "* * * * *" 2024/09/04 04:15:34 failed to parse int from "*:...