Remove outdated events¶
Outdated events can either be hidden or removed with a scheduler task.
The events are determined by looking at the index, where the end date has to be older than the waitingPeriod (relative to today). This must be true for all indices of a single event. This task also supports custom events.
Add a new Scheduler Task
Select the class Execute console commands
Select Frequency for the execution
Go to section Schedulable Command. Save and reopen to define command arguments at the bottom.
Select calendarize:cleanup (press save)
Select the options you want to execute the queue with.