The first script saves, shuts down, sends periodic messages until the shutdown, and then restarts the server.