Jump to content
  • 0

BEC Scheduler Help


Hooch

Question

Hi guys,
 
I have rented a DayZPriv server and have run into an issue with restart schedules, I have tried to follow the setup BEC install post on the BEC website but I don't seem to be able to get it to work.
 
I wanted the server to restart every 4 hours, with restart warnings 15 minutes, 5 minutes and 1 minute before the restart.
 
I also wanted to have the BEC messages every 20, 25, 30 and 35 minutes.
 
Does anyone have a working scheduler? Or can help me set mine up with DayZPriv?
 
Many thanks for your time guys,
Hooch
Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

I have no idea how DayZPriv works but setting up works like this:

 

In the folder /BEC/Config/ there aer 2 files you need: Config.cfg and Scheduler.xml.

 

Open Config.cfg and find this:

# Set the path to the Scheduler.xml file.
# Scheduler = Scheduler.xml

Remove the # in front of Scheduler = to enable the Scheduler.

 

 

Now open the Scheduler.xml file, read the first 120 lines, that explain how to edit the different variables. Then add as many jobs as you want within the <Scheduler></Scheduler> wraps.

 

I like to notify my players when i restart BEC to update the whitelist, so my first job looks like this:

	<job id="0">
		<time>000010</time>
		<delay>000000</delay>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>say -1 BEC (Re)Started. Automated server restart in 4 hours. Whitelist has been updated.</cmd>
		<cmdtype>0</cmdtype>			
	</job>

I start the server with the /wait parameter for auto restart, so all i have to do in game is shut it down, 

	<!-- Restart after 4h -->
	<job id="8">
		<time>040000</time>
		<delay>000000</delay>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>#shutdown</cmd>
		<cmdtype>0</cmdtype>			
	</job>

As you can see this is my 9th job, i have some pre-restart messages inbetween, which shouldnt be too hard to figure out with the description in the Scheduler file.

 

I hope I helped you on your way this way

Link to comment
Share on other sites

  • 0

Try reading replies before 

 

Ok guys, I am either really stupid or really useless.......maybe a bit of both.

 

Here are my 2 files.

 

Scheduler.xml and Config.cfg.

 

https://www.dropbox.com/s/q17tlbvfi8776z0/Scheduler.xml

https://www.dropbox.com/s/l66ptnd4merj8o7/Config.cfg

 

Can anyone fix them? I have a server that has ZERO restarts at present and that is a pain :(

 

You clearly need someone to do stuff for you instead of looking for actual explanation. I'm quite sure you should have been able to solve this with our 2 replies above...

Link to comment
Share on other sites

  • 0

Clearly I do need help, clearly I don't need the attitude.

 

I have tried the "restart" in the <cmd> tags but that does not work either, so I mailed DayZPriv and he gave me <cmd>C:/Dayz Server Manager/Instance8/Epoch/ServerRestart.bat</cmd> which also does not work so I attached my files to see if you guys could correct them for me.

 

Sorry that I am not a freaking genius Randomness. I have tried to fix it, failed. Now I asked for help. But got snotty attitude. Thanks.

Link to comment
Share on other sites

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...