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

Would it be possible to add an option to start jobs scheduled as `@every` immediately (and not after the interval)? The [docs](https://pkg.go.dev/github.com/robfig/cron) mention that > For example, "@every 1h30m10s" would...

Now cron job execute when next ticker coming. For example, I set @every 5 min,but when I start my program, it must wait for 5 min to execute, I want...

Job is not scheduled as described as in the [doc](https://pkg.go.dev/github.com/robfig/cron) > You may also schedule a job to execute at fixed intervals, starting at the time it's added or cron...

if the schedules timezone not specify, it's local timezone. but the code doesn't convert the t to the schedule timezone. and compare time below with schedule and t. ``` //...

I want to check running services and it's cron schedule, but `Schedule` shows next time to execute task only. Any chance to re-convert it?

Issue [322](https://github.com/robfig/cron/issues/322) requested this function to derive the previous time that a SpecSchedule would have triggered. I am open to moving the logic if you think I should. Also, I...

After reading the docs I couldn't find a way to run crons now as soon as i start , and then later at the next interval. Is there a way...

https://github.com/cnotch/scheduler

I want to pass in the context in cron.Job.Run, is there any way? return cron.WithChain(func(job cron.Job) cron.Job { return cron.FuncJob(func() { // There is a way to write context job.Run()...