HasterPaster

Scheduler - 12h restart.xml

Jul 11th, 2021
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.99 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
  2.  
  3. <Scheduler>
  4.  
  5. <!-- Restart every 12 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. <!-- 12:00 -->
  46. <job id='5'>
  47. <day>1,2,3,4,5,6,7</day>
  48. <start>11: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>11: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>11: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>11: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>12:00:00</start>
  77. <runtime>000020</runtime>
  78. <loop>0</loop>
  79. <cmd>#shutdown</cmd>
  80. </job>
  81. <!-- End 12:00 -->
  82.  
  83. </Scheduler>
  84.  
Advertisement
Add Comment
Please, Sign In to add comment