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

Description for "0 0-13 * * *" could be improved

Open arnau126 opened this issue 1 year ago • 0 comments

This code

from cron_descriptor import get_description
get_description("0 0-13 * * *")

returns

"Between 12:00 AM and 01:59 PM"

That's not wrong, but there is missing information. A better description would be:

At minute 0 past every hour from 0 through 13.

(got from crontab.guru)

arnau126 avatar Oct 04 '23 09:10 arnau126