Lets play spot the error in Scheduler.xml

luminoth

New Member
I know there are millions of threads already covering this. Ive gone through alot of them and I'm still useless at the Scheduler.xml file. Just want 2 hour restart warnings starting with 30mins, 15mins, 10mins, 5mins then 1minute.
Anyone wanna spot my mistake(s)

http://pastebin.com/raw/eL44gupc

(wasn't able to upload it here because of the character count per post)
 
I have no idea what you're doing with your start times.

All you have to do is look at the examples they gave you and replicate them. Your first message about teamspeak seems to be set up correctly.

Your start time is supposed to be how long after the server has been running do you want to display the message. So if you want 2 hours restarts, and you want to warn the server a half hour before, you would start an hour and a half after the server has been running. The way yours looks, the message won't run until the server has been running for 23 hours and 30 minutes. Also, you don't need to separate the time with colons.

Your first warning should look like this.

Code:
   <job id='3'>
     <day>1,2,3,4,5,6,7</day>
     <start>013000</start>
     <runtime>000000</runtime>>
     <loop>0</loop>
     <cmd>say -1 This server will restart in 30 minutes</cmd>
   </job>

The job starts 1 hour and 30 minutes after the server has been running to warn players that the server will restart in 30 minutes (2 hours). Hopefully you can figure the rest out from there.
 
Back
Top