semaphoreui / semaphore

Modern UI and powerful API for Ansible, Terraform, OpenTofu, PowerShell and other DevOps tools.
https://semaphoreui.com
MIT License
10.6k stars 1.07k forks source link

Cron input evaluates to a wrong max length #1350

Open josefglatz opened 1 year ago

josefglatz commented 1 year ago

According to GO cron 20 2 * * 6-7 should be possible. But its not possible due to the evaluation which is based on the length of the input string.

mad73923 commented 1 year ago

Same here! Seems like Go expects a seconds field. https://pkg.go.dev/github.com/robfig/cron#hdr-CRON_Expression_Format

But standard cron doesn't have any seconds definition. https://crontab.guru/ Bildschirmfoto vom 2023-11-01 17-44-21

miversen33 commented 11 months ago

I'm not usually a fan of "same here" comments, but this issue is going on 6 months old with no comments from the maintainers. I am seeing the same issue on version 2.9.39-beta

emollusion commented 9 months ago

Confirming this behaviour in version 2.9.37