Schedules - allow something other that specific date or weekly (Use custom schedule type and enter a cron expression)

It would be nice to be able to set maintenance schedules to something like

1st Tuesday of every month.

Currently, using the custom schedule, it looks like you can only do a specific date per month.

Thanks

That’s what the cron schedules are for. To get your first Tuesday of every month, you can do something like:
00 9 1-7 * 2

That will make it so that the schedule will run at 9:00AM every Tuesday, within the range of days 1-7, so it will only hit the first Tuesday.

To be honest, I don’t know a thing about cron schedules. I just followed the link to the helper, got something close enough that got every Tuesday, and then used Bing AI to help me fix it to get the first Tuesday, and not every Tuesday.

I’ll give it a go, the UI when I enter this 0 20 14-21 * 2 says '20:00 on the 14, 15, 16, 17, 18, 19, 20 and 21st of every month and every Tue’

Next Run Tomorrow, so on Wednesday it should skip it

Let’s see what happens.

Thanks

Chris

Sounds good, but just a quick mention, the range should only include 7 days (I count 8 in yours), or you might two in one month. The suggested range for the third Tuesday, would be 15-21. Good luck!