Run function on server start

Ok, I feel ashamed asking this, like I should know it, but I'm trying to make a looping function. How do I get it to run on server start?
Continue to help post