Added a function to perform an action the next time the server comes online.