Hi Benjamin,
The solution you are looking for are scheduled events. These events are executed on set times, without any user interaction required.
You can add a new scheduled event by right clicking on a module name, and choose: “Add other → scheduled event”
If you want the event to repeat on a regular basis, don't forget to set the repeat radiobox to yes.
Link to docs:
https://docs.mendix.com/refguide/scheduled-events
Good luck!