Can't set 11PM for scheduled aggregations

What problem are you observing?

When configuring Scheduled aggregations to start at 11PM and run every 4h, a weird “500” red banner is shown at the top of the screen.

When using DevTools to get the actual error from the backend we get this:
{\"errorName\":\"IllegalArgumentException\",\"errorMessage\":\"Task schedule is invalid: invalid Cron expressions in [\\\"0 0 5,9,13,17,21,25 * * ?\\\"]\",\"trackingId\":\"32ce0b96abfa43d580ef06ffb7886012\"}"

This does not happen when configuring other start times (we tried 11AM, 5PM).

The problem seems to be that the array generated to set the next aggregations don’t handle well mod 24 and one of the hours in the generated sequence is greater than 24.

What is the correct behavior?

We should be able to use any combination of starting time and recurrency for scheduled aggregations.

What product feature is this related to?

Connection > Sources > Import Data > Account Aggregation

What are the steps to reproduce the issue?

Configure an AD source and set the scheduled aggregation to start at 11PM every 4h.

Do you have any other information about your environment that may help?

The error occurs in PROD only. I tested the same scenario in Sandbox and this does NOT happen.

That’s strange - I just configured it in my demo tenant without issues

But when I try to change it then indeed i get red 500 banner

I tried in Sandbox and I didn’t get the error either, but in Prod is def. happening.