Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <Scheduler>
- <!-- Restart every 4 hours with 15, 10, 5, and 1 minute notification -->
- <!-- The restart at 00:00 is handled by the external backup script. -->
- <!-- 00:00 swedish time, 23:00 local time. -->
- <job id='0'>
- <day>1,2,3,4,5,6,7</day>
- <start>22:45:00</start>
- <runtime>000020</runtime>
- <loop>0</loop>
- <cmd>say -1 The server will restart in 15 minutes.</cmd>
- </job>
- <job id='1'>
- <day>1,2,3,4,5,6,7</day>
- <start>22:50:00</start>
- <runtime>000020</runtime>
- <loop>0</loop>
- <cmd>say -1 The server will restart in 10 minutes.</cmd>
- </job>
- <job id='2'>
- <day>1,2,3,4,5,6,7</day>
- <start>22:55:00</start>
- <runtime>000020</runtime>
- <loop>0</loop>
- <cmd>say -1 The server will restart in 5 minutes.</cmd>
- </job>
- <job id='3'>
- <day>1,2,3,4,5,6,7</day>
- <start>22:59:00</start>
- <runtime>000020</runtime>
- <loop>0</loop>
- <cmd>say -1 The server will restart in 1 minute.</cmd>
- </job>
- <!-- Don't shut down the server. Let the backup script do that.
- <job id='4'>
- <day>1,2,3,4,5,6,7</day>
- <start>23:00:00</start>
- <runtime>000020</runtime>
- <loop>0</loop>
- <cmd>#shutdown</cmd>
- </job>
- -->
- <!-- End 00:00 restart. -->
- <!-- 04:00 swedish time, 03:00 local time. -->
- <job id='4'>
- <day>1,2,3,4,5,6,7</day>
- <start>02:45:00</start>
- <runtime>000020</runtime>
- <loop>0</loop>
- <cmd>say -1 The server will restart in 15 minutes.</cmd>
- </job>
- <job id='5'>
- <day>1,2,3,4,5,6,7</day>
- <start>02:50:00</start>
- <runtime>000020</runtime>
- <loop>0</loop>
- <cmd>say -1 The server will restart in 10 minutes.</cmd>
- </job>
- <job id='6'>
- <day>1,2,3,4,5,6,7</day>
- <start>02:55:00</start>
- <runtime>000020</runtime>
- <loop>0</loop>
- <cmd>say -1 The server will restart in 5 minutes.</cmd>
- </job>
- <job id='7'>
- <day>1,2,3,4,5,6,7</day>
- <start>02:59:00</start>
- <runtime>000020</runtime>
- <loop>0</loop>
- <cmd>say -1 The server will restart in 1 minute.</cmd>
- </job>
- <job id='8'>
- <day>1,2,3,4,5,6,7</day>
- <start>03:00:00</start>
- <runtime>000020</runtime>
- <loop>0</loop>
- <cmd>#shutdown</cmd>
- </job>
- <!-- End 04:00 restart. -->
- <!-- 08:00 swedish time, 07:00 local time. -->
- <job id='9'>
- <day>1,2,3,4,5,6,7</day>
- <start>06:45:00</start>
- <runtime>000020</runtime>
- <loop>0</loop>
- <cmd>say -1 The server will restart in 15 minutes.</cmd>
- </job>
- <job id='10'>
- <day>1,2,3,4,5,6,7</day>
- <start>06:50:00</start>
- <runtime>000020</runtime>
- <loop>0</loop>
- <cmd>say -1 The server will restart in 10 minutes.</cmd>
- </job>
- <job id='11'>
- <day>1,2,3,4,5,6,7</day>
- <start>06:55:00</start>
- <runtime>000020</runtime>
- <loop>0</loop>
- <cmd>say -1 The server will restart in 5 minutes.</cmd>
- </job>
- <job id='12'>
- <day>1,2,3,4,5,6,7</day>
- <start>06:59:00</start>
- <runtime>000020</runtime>
- <loop>0</loop>
- <cmd>say -1 The server will restart in 1 minute.</cmd>
- </job>
- <job id='13'>
- <day>1,2,3,4,5,6,7</day>
- <start>07:00:00</start>
- <runtime>000020</runtime>
- <loop>0</loop>
- <cmd>#shutdown</cmd>
- </job>
- <!-- End 08:00 restart. -->
- <!-- 12:00 swedish time, 11:00 local time. -->
- <job id='14'>
- <day>1,2,3,4,5,6,7</day>
- <start>10:45:00</start>
- <runtime>000020</runtime>
- <loop>0</loop>
- <cmd>say -1 The server will restart in 15 minutes.</cmd>
- </job>
- <job id='15'>
- <day>1,2,3,4,5,6,7</day>
- <start>10:50:00</start>
- <runtime>000020</runtime>
- <loop>0</loop>
- <cmd>say -1 The server will restart in 10 minutes.</cmd>
- </job>
- <job id='16'>
- <day>1,2,3,4,5,6,7</day>
- <start>10:55:00</start>
- <runtime>000020</runtime>
- <loop>0</loop>
- <cmd>say -1 The server will restart in 5 minutes.</cmd>
- </job>
- <job id='17'>
- <day>1,2,3,4,5,6,7</day>
- <start>10:59:00</start>
- <runtime>000020</runtime>
- <loop>0</loop>
- <cmd>say -1 The server will restart in 1 minute.</cmd>
- </job>
- <job id='18'>
- <day>1,2,3,4,5,6,7</day>
- <start>11:00:00</start>
- <runtime>000020</runtime>
- <loop>0</loop>
- <cmd>#shutdown</cmd>
- </job>
- <!-- End 12:00 restart. -->
- <!-- 16:00 swedish time, 15:00 local time. -->
- <job id='19'>
- <day>1,2,3,4,5,6,7</day>
- <start>14:45:00</start>
- <runtime>000020</runtime>
- <loop>0</loop>
- <cmd>say -1 The server will restart in 15 minutes.</cmd>
- </job>
- <job id='20'>
- <day>1,2,3,4,5,6,7</day>
- <start>14:50:00</start>
- <runtime>000020</runtime>
- <loop>0</loop>
- <cmd>say -1 The server will restart in 10 minutes.</cmd>
- </job>
- <job id='21'>
- <day>1,2,3,4,5,6,7</day>
- <start>14:55:00</start>
- <runtime>000020</runtime>
- <loop>0</loop>
- <cmd>say -1 The server will restart in 5 minutes.</cmd>
- </job>
- <job id='22'>
- <day>1,2,3,4,5,6,7</day>
- <start>14:59:00</start>
- <runtime>000020</runtime>
- <loop>0</loop>
- <cmd>say -1 The server will restart in 1 minute.</cmd>
- </job>
- <job id='23'>
- <day>1,2,3,4,5,6,7</day>
- <start>15:00:00</start>
- <runtime>000020</runtime>
- <loop>0</loop>
- <cmd>#shutdown</cmd>
- </job>
- <!-- End 16:00 restart. -->
- <!-- 20:00 swedish time, 19:00 local time. -->
- <job id='24'>
- <day>1,2,3,4,5,6,7</day>
- <start>18:45:00</start>
- <runtime>000020</runtime>
- <loop>0</loop>
- <cmd>say -1 The server will restart in 15 minutes.</cmd>
- </job>
- <job id='25'>
- <day>1,2,3,4,5,6,7</day>
- <start>18:50:00</start>
- <runtime>000020</runtime>
- <loop>0</loop>
- <cmd>say -1 The server will restart in 10 minutes.</cmd>
- </job>
- <job id='26'>
- <day>1,2,3,4,5,6,7</day>
- <start>18:55:00</start>
- <runtime>000020</runtime>
- <loop>0</loop>
- <cmd>say -1 The server will restart in 5 minutes.</cmd>
- </job>
- <job id='27'>
- <day>1,2,3,4,5,6,7</day>
- <start>18:59:00</start>
- <runtime>000020</runtime>
- <loop>0</loop>
- <cmd>say -1 The server will restart in 1 minute.</cmd>
- </job>
- <job id='28'>
- <day>1,2,3,4,5,6,7</day>
- <start>19:00:00</start>
- <runtime>000020</runtime>
- <loop>0</loop>
- <cmd>#shutdown</cmd>
- </job>
- <!-- End 20:00 restart. -->
- </Scheduler>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement