Cronline and next execution mismatch foreman 3.14

Problem:

Expected outcome:

Foreman and Proxy versions:

Foreman and Proxy plugin versions:

Distribution and version:

Other relevant data:

Scheduled this just now in foreman 3.14. The cron logic should be a tuesday between the 8th and the 14th at 10 am but foreman shows the next execution today at 10am. Is this a known bug and is there a fix for it or is the next execution not used when running the job schedule?

Overview Preview templates
Recurring logic ID 28
Cron line 0 10 8-14 * 2 |
Action Run hosts job:
Last occurrence -
Next occurrence 2025-10-28 10:00:00 -0700
Current iteration 1 Iteration
limit Unlimited
Repeat until Unlimited
State Active
Purpose Linux Patches Non-Prod 2nd Tuesday 10 am
Task count 1

crontab guru gives me “At 10:00 on every day-of-month from 8 through 14 and on Tuesday.” and as far as I understand that it means every Tuesday, not only those between 8th and 14th. If I’m reading it correctly you seem to be expecting only “on tuesday in the second week of the month”, is that right? If that’s the case, I’d suggest checking out the docs of the library we use to parse the cron expressions, it has a section on exactly this use case.