Almost finished my server and one problem appeared

So, I need something to activate one command automatically with a certain period of time (eg 30 minutes ) . In my case, it is “map map_name”. I need something to restart the map with a certain period of time , maybe there’s another way to do this ?

Make a function that calls the con command after a specific time using a timer.

Thank you so much! Im not good at lua but that one was easy!