You must configure a Scheduler.xml file to send messages and restart your server.
job id='12'>
<runtime>030000</runtime> <----- # 3 and 3 houers (change to 04000)
<start>025000</start>
<day>1,2,3,4,5,6,7</day>
<loop>6</loop>
<cmd>say -1 Server Restart in 10min</cmd>
<cmdtype>0</cmdtype>
</job>