To get a function like a timer, it is best to use the Task Scheduler.
In the scheduler, different commands can be added, which can be selected in the time events.
In the Time Events, different types and different time windows can be set. In addition to the selection of the command, you can also set how and how often the event is to be repeated.