Cron Jobs interface do not accept a range of months #54

Closed
opened 2026-04-05 20:25:22 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @escozul on 8/19/2025

CloudPanel version(s) affected

2.5.2

Description

If you try to add a new cron job and have it run daily for one month (eg January: 1) you can do that without issues. If you want it to run for a range of months, (ie 6,7,8,9 or 6-9) you can't do that. You get the error: Month: This value is not valid.. You can however, do that with dates, or hours or minutes. It's impossible to do it with the months.

I had to create a script to run all year if I need to replicate the proper behavior and I don't want to run a script whole year long to execute something during specific months. The other solution would be to create one cron job for each month which is really tedious.

How to reproduce

Try to add a new cron job and add to the month field the value 6-9 or 6,7,8,9. They should both work but you get the error: Month: This value is not valid.

Possible Solution

No response

Additional Context

No response

*Originally created by @escozul on 8/19/2025* ### CloudPanel version(s) affected 2.5.2 ### Description If you try to add a new cron job and have it run daily for one month (eg January: 1) you can do that without issues. If you want it to run for a range of months, (ie 6,7,8,9 or 6-9) you can't do that. You get the error: `Month: This value is not valid.`. You can however, do that with dates, or hours or minutes. It's impossible to do it with the months. I had to create a script to run all year if I need to replicate the proper behavior and I don't want to run a script whole year long to execute something during specific months. The other solution would be to create one cron job for each month which is really tedious. ### How to reproduce Try to add a new cron job and add to the month field the value `6-9` or `6,7,8,9`. They should both work but you get the error: `Month: This value is not valid.` ### Possible Solution _No response_ ### Additional Context _No response_
MrUnknownDE added the bugbugbugbug labels 2026-04-05 20:25:23 +02:00
Sign in to join this conversation.