Jump to content
  • 0

Bec Scheduler (junk after document element)


CoxyzHQ

Question

okay so my scheduler was working perfectly until today for some stupid reason i get (Error parsing the Scheduler file, junk after document element: line 11, column 4)

 

Here is my Scheduler.xml 

<?xml version="1.0"?>
    <job id="0">
	    <day>1,2,3,4,5,6,7</day>
        <start>000120</start>
        <runtime>000030</runtime>
        <loop>-1</loop> 
        <cmd>say -1 This is a test message. Shows up every 30 seconds.</cmd>              
    </job>


    <job id="1">
	    <day>1,2,3,4,5,6,7</day>
        <start>025000</start>
        <runtime>000000</runtime>
        <loop>0</loop> 
        <cmd>say -1 Server Restart in 10 minutes</cmd>                
    </job>
    
    <job id="2">
	    <day>1,2,3,4,5,6,7</day>
        <start>025500</start>
        <runtime>000000</runtime>
        <loop>0</loop> 
        <cmd>say -1 Server Restart in 5 minutes</cmd>               
    </job> 
   
    <job id="3">
	    <day>1,2,3,4,5,6,7</day>
        <start>025900</start>
        <runtime>000000</runtime>
        <loop>0</loop> 
        <cmd>say -1 Server Restart in 60 seconds, logout to avoid gear loss</cmd>           
    </job>  

    <job id="4">
	    <day>1,2,3,4,5,6,7</day>
        <start>025930</start>
        <runtime>000000</runtime>
        <loop>0</loop> 
        <cmd>say -1 Server Restart in 30 seconds</cmd>               
    </job> 
 
    <job id="5">
	    <day>1,2,3,4,5,6,7</day>
        <start>025950</start>
        <runtime>000000</runtime>
        <loop>0</loop> 
        <cmd>say -1 Server Restart in 10 seconds</cmd>               
    </job> 

 <!-- run every 1h with a 5min runtime on startup -->
    <job id="6">
	    <day>1,2,3,4,5,6,7</day>
        <start>010000</start>
        <runtime>000500</runtime>
        <loop>1</loop> 
        <cmd></cmd>                
    </job>

<!-- RESTART SERVER -->
    <job id="7">
	    <day>1,2,3,4,5,6,7</day>
        <start>030000</start>
        <runtime>000000</runtime>
        <loop>0</loop> 
        <cmd>C:\Users\Desktop\Server_Restart.bat</cmd>    
        <cmdtype>1</cmdtype>            
    </job> 
	
</Scheduler>

Job 0 is just a test to see if its working which it isn't so any help would be very appreciated 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...