cron-parser icon indicating copy to clipboard operation
cron-parser copied to clipboard

Doesn't support slash times with initial values

Open palfrey opened this issue 3 years ago • 1 comments

e.g. 0 1/6 * * * for "every 6h starting from 01:00" doesn't work, because this parser supports */<num> but not <num>/<num>. This is supported by Kubernetes cronjobs at least, via the Go cron format (see https://pkg.go.dev/github.com/robfig/cron/v3#hdr-Special_Characters)

Thanks for all the other work here!

palfrey avatar Feb 11 '22 13:02 palfrey

Hi @palfrey , 0 1,7,13,19 * * * Could cover that case (every 6 hours starting at 1), I think it is easier/clearer (less prone to error) any thoughts, use case?

nbari avatar Dec 14 '23 18:12 nbari