What happen if tournament duration more than the resetschedule time?

Hi, I want to make a game where the tournaments will be reset each week, that means the scheduler will be:

0 0 * * 0

But I want all the participants can submit their score until the end of reset time, how do I achieve this?
If I set the duration into 691200 seconds ( 8 days), will it still be reset each week? and when will the TournamentEnd function occurs?

Thank you

Hello @felixlienaldi,

For the duration, shouldn’t you be using 7 days to ensure that the startTime plus the duration are just before the reset time?

The TournamentEnd function will be invoked at the endTime. Imagine a daily tournament on a seasonal event like Halloween. You would define the start and end times, and a reset schedule for it to be reset daily.