mirror of
https://github.com/cloudpanel-io/cloudpanel-ce.git
synced 2026-04-05 20:31:58 +02:00
Cron Jobs interface do not accept a range of months #54
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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-9or6,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