serverless-local-schedule icon indicating copy to clipboard operation
serverless-local-schedule copied to clipboard

Increments ignored

Open dwrz opened this issue 6 years ago • 4 comments

Serverless: Converting local crontabs to UTC crontabs...
Serverless: Converted 0/10 04-22 * * ? * America/New_York to
               0 0-3,9-23 * 1-2,12 ? *
               0 0-3,9-23 1-10 3 ? *
               0 0-2,8-23 11-31 3 ? *
               0 0-2,8-23 * 4-10 ? *
               0 0-2,8-23 1-3 11 ? *
               0 0-3,9-23 4-31 11 ? *

It looks like the plugin is ignoring the increment syntax (see Schedule Expressions Using Rate or Cron). Shouldn't the conversions be to 0/10 for the minutes field?

dwrz avatar Dec 04 '18 16:12 dwrz

You are correct. Not sure why that isn't being handled correctly.

dschep avatar Dec 04 '18 18:12 dschep

Any updates on this fix?

jdrakes avatar Oct 01 '19 16:10 jdrakes

Any further updates?

Hwan-seok avatar Jul 24 '20 15:07 Hwan-seok

@Hwan-seok, nope, this serves the purpose for which we created the library. If you need further features such as this, feel free to contribute a patch.

dschep avatar Jul 27 '20 18:07 dschep