HasterPaster

Scheduler - 4h restart.xml

Jul 11th, 2021 (edited)
310
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.66 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
  2.  
  3. <Scheduler>
  4.  
  5. <!-- Restart every 4 hours with 15, 10, 5, and 1 minute notification -->
  6.  
  7. <!-- 00:00 -->
  8. <job id='0'>
  9. <day>1,2,3,4,5,6,7</day>
  10. <start>23:45:00</start>
  11. <runtime>000020</runtime>
  12. <loop>0</loop>
  13. <cmd>say -1 The server will restart in 15 minutes.</cmd>
  14. </job>
  15. <job id='1'>
  16. <day>1,2,3,4,5,6,7</day>
  17. <start>23:50:00</start>
  18. <runtime>000020</runtime>
  19. <loop>0</loop>
  20. <cmd>say -1 The server will restart in 10 minutes.</cmd>
  21. </job>
  22. <job id='2'>
  23. <day>1,2,3,4,5,6,7</day>
  24. <start>23:55:00</start>
  25. <runtime>000020</runtime>
  26. <loop>0</loop>
  27. <cmd>say -1 The server will restart in 5 minutes.</cmd>
  28. </job>
  29. <job id='3'>
  30. <day>1,2,3,4,5,6,7</day>
  31. <start>23:59:00</start>
  32. <runtime>000020</runtime>
  33. <loop>0</loop>
  34. <cmd>say -1 The server will restart in 1 minute.</cmd>
  35. </job>
  36. <job id='4'>
  37. <day>1,2,3,4,5,6,7</day>
  38. <start>00:00:00</start>
  39. <runtime>000020</runtime>
  40. <loop>0</loop>
  41. <cmd>#shutdown</cmd>
  42. </job>
  43. <!-- End 00:00 -->
  44.  
  45. <!-- 04:00 -->
  46. <job id='5'>
  47. <day>1,2,3,4,5,6,7</day>
  48. <start>03:45:00</start>
  49. <runtime>000020</runtime>
  50. <loop>0</loop>
  51. <cmd>say -1 The server will restart in 15 minutes.</cmd>
  52. </job>
  53. <job id='6'>
  54. <day>1,2,3,4,5,6,7</day>
  55. <start>03:50:00</start>
  56. <runtime>000020</runtime>
  57. <loop>0</loop>
  58. <cmd>say -1 The server will restart in 10 minutes.</cmd>
  59. </job>
  60. <job id='7'>
  61. <day>1,2,3,4,5,6,7</day>
  62. <start>03:55:00</start>
  63. <runtime>000020</runtime>
  64. <loop>0</loop>
  65. <cmd>say -1 The server will restart in 5 minutes.</cmd>
  66. </job>
  67. <job id='8'>
  68. <day>1,2,3,4,5,6,7</day>
  69. <start>03:59:00</start>
  70. <runtime>000020</runtime>
  71. <loop>0</loop>
  72. <cmd>say -1 The server will restart in 1 minute.</cmd>
  73. </job>
  74. <job id='9'>
  75. <day>1,2,3,4,5,6,7</day>
  76. <start>04:00:00</start>
  77. <runtime>000020</runtime>
  78. <loop>0</loop>
  79. <cmd>#shutdown</cmd>
  80. </job>
  81. <!-- End 04:00 -->
  82.  
  83. <!-- 08:00 -->
  84. <job id='10'>
  85. <day>1,2,3,4,5,6,7</day>
  86. <start>07:45:00</start>
  87. <runtime>000020</runtime>
  88. <loop>0</loop>
  89. <cmd>say -1 The server will restart in 15 minutes.</cmd>
  90. </job>
  91. <job id='11'>
  92. <day>1,2,3,4,5,6,7</day>
  93. <start>07:50:00</start>
  94. <runtime>000020</runtime>
  95. <loop>0</loop>
  96. <cmd>say -1 The server will restart in 10 minutes.</cmd>
  97. </job>
  98. <job id='12'>
  99. <day>1,2,3,4,5,6,7</day>
  100. <start>07:55:00</start>
  101. <runtime>000020</runtime>
  102. <loop>0</loop>
  103. <cmd>say -1 The server will restart in 5 minutes.</cmd>
  104. </job>
  105. <job id='13'>
  106. <day>1,2,3,4,5,6,7</day>
  107. <start>07:59:00</start>
  108. <runtime>000020</runtime>
  109. <loop>0</loop>
  110. <cmd>say -1 The server will restart in 1 minute.</cmd>
  111. </job>
  112. <job id='14'>
  113. <day>1,2,3,4,5,6,7</day>
  114. <start>08:00:00</start>
  115. <runtime>000020</runtime>
  116. <loop>0</loop>
  117. <cmd>#shutdown</cmd>
  118. </job>
  119. <!-- End 08:00 -->
  120.  
  121. <!-- 12:00 -->
  122. <job id='15'>
  123. <day>1,2,3,4,5,6,7</day>
  124. <start>11:45:00</start>
  125. <runtime>000020</runtime>
  126. <loop>0</loop>
  127. <cmd>say -1 The server will restart in 15 minutes.</cmd>
  128. </job>
  129. <job id='16'>
  130. <day>1,2,3,4,5,6,7</day>
  131. <start>11:50:00</start>
  132. <runtime>000020</runtime>
  133. <loop>0</loop>
  134. <cmd>say -1 The server will restart in 10 minutes.</cmd>
  135. </job>
  136. <job id='17'>
  137. <day>1,2,3,4,5,6,7</day>
  138. <start>11:55:00</start>
  139. <runtime>000020</runtime>
  140. <loop>0</loop>
  141. <cmd>say -1 The server will restart in 5 minutes.</cmd>
  142. </job>
  143. <job id='18'>
  144. <day>1,2,3,4,5,6,7</day>
  145. <start>11:59:00</start>
  146. <runtime>000020</runtime>
  147. <loop>0</loop>
  148. <cmd>say -1 The server will restart in 1 minute.</cmd>
  149. </job>
  150. <job id='19'>
  151. <day>1,2,3,4,5,6,7</day>
  152. <start>12:00:00</start>
  153. <runtime>000020</runtime>
  154. <loop>0</loop>
  155. <cmd>#shutdown</cmd>
  156. </job>
  157. <!-- End 12:00 -->
  158.  
  159. <!-- 16:00 -->
  160. <job id='20'>
  161. <day>1,2,3,4,5,6,7</day>
  162. <start>15:45:00</start>
  163. <runtime>000020</runtime>
  164. <loop>0</loop>
  165. <cmd>say -1 The server will restart in 15 minutes.</cmd>
  166. </job>
  167. <job id='21'>
  168. <day>1,2,3,4,5,6,7</day>
  169. <start>15:50:00</start>
  170. <runtime>000020</runtime>
  171. <loop>0</loop>
  172. <cmd>say -1 The server will restart in 10 minutes.</cmd>
  173. </job>
  174. <job id='22'>
  175. <day>1,2,3,4,5,6,7</day>
  176. <start>15:55:00</start>
  177. <runtime>000020</runtime>
  178. <loop>0</loop>
  179. <cmd>say -1 The server will restart in 5 minutes.</cmd>
  180. </job>
  181. <job id='23'>
  182. <day>1,2,3,4,5,6,7</day>
  183. <start>15:59:00</start>
  184. <runtime>000020</runtime>
  185. <loop>0</loop>
  186. <cmd>say -1 The server will restart in 1 minute.</cmd>
  187. </job>
  188. <job id='24'>
  189. <day>1,2,3,4,5,6,7</day>
  190. <start>16:00:00</start>
  191. <runtime>000020</runtime>
  192. <loop>0</loop>
  193. <cmd>#shutdown</cmd>
  194. </job>
  195. <!-- End 16:00 -->
  196.  
  197. <!-- 20:00 -->
  198. <job id='25'>
  199. <day>1,2,3,4,5,6,7</day>
  200. <start>19:45:00</start>
  201. <runtime>000020</runtime>
  202. <loop>0</loop>
  203. <cmd>say -1 The server will restart in 15 minutes.</cmd>
  204. </job>
  205. <job id='26'>
  206. <day>1,2,3,4,5,6,7</day>
  207. <start>19:50:00</start>
  208. <runtime>000020</runtime>
  209. <loop>0</loop>
  210. <cmd>say -1 The server will restart in 10 minutes.</cmd>
  211. </job>
  212. <job id='27'>
  213. <day>1,2,3,4,5,6,7</day>
  214. <start>19:55:00</start>
  215. <runtime>000020</runtime>
  216. <loop>0</loop>
  217. <cmd>say -1 The server will restart in 5 minutes.</cmd>
  218. </job>
  219. <job id='28'>
  220. <day>1,2,3,4,5,6,7</day>
  221. <start>19:59:00</start>
  222. <runtime>000020</runtime>
  223. <loop>0</loop>
  224. <cmd>say -1 The server will restart in 1 minute.</cmd>
  225. </job>
  226. <job id='29'>
  227. <day>1,2,3,4,5,6,7</day>
  228. <start>20:00:00</start>
  229. <runtime>000020</runtime>
  230. <loop>0</loop>
  231. <cmd>#shutdown</cmd>
  232. </job>
  233. <!-- End 20:00 -->
  234.  
  235. </Scheduler>
  236.  
Advertisement
Add Comment
Please, Sign In to add comment