Jump to content
  • 0

Problems with Scheduler.xml


GaspArt

Question

15 answers to this question

Recommended Posts

  • 0

Does your BEC console show that it's loaded any tasks from the Schedule.xml file?

12:01:35 : Checking for new Bec version...
12:01:39 : Bec is running latest version! : 1.602
12:01:39 : Connecting to Battleye server ***.***.***.***:2302
12:01:39 : Scheduling 18 tasks

You should see something like the 4th line somewhere in your BEC console.

Link to comment
Share on other sites

  • 0

Does your BEC console show that it's loaded any tasks from the Schedule.xml file?

12:01:35 : Checking for new Bec version...
12:01:39 : Bec is running latest version! : 1.602
12:01:39 : Connecting to Battleye server ***.***.***.***:2302
12:01:39 : Scheduling 18 tasks

You should see something like the 4th line somewhere in your BEC console.

 

Thx for the reply!

I have a server on hosting, so can get access to BEC console. :c 

 

Link to comment
Share on other sites

  • 0

Check with your hosting if BEC is even running properly

 

Took a quick glance at your scheduler, looks fine to me...

 

Here's mine

<?xml version="1.0"?>

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

    <job id="3">
        <day>1,2,3,4,5,6,7</day> 
        <start>035930</start>
        <runtime>000000</runtime>
        <loop>0</loop> 
        <cmd>say -1 Server Restart in 30 seconds</cmd>              
    </job> 
 
    <job id="4">
        <day>1,2,3,4,5,6,7</day> 
        <start>035950</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="5">
        <day>1,2,3,4,5,6,7</day>
        <start>000010</start>
        <runtime>010000</runtime>
        <loop>-1</loop> 
        <cmd>say -1 website.com</cmd>            
    </job>

<!-- RESTART SERVER -->
    <job id="6">
        <day>1,2,3,4,5,6,7</day>
        <start>040000</start>
        <runtime>000000</runtime>
        <loop>0</loop> 
        <cmd>#shutdown</cmd>             
    </job>
 
</Scheduler> 

Link to comment
Share on other sites

  • 0

Check with your hosting if BEC is even running properly

 

Took a quick glance at your scheduler, looks fine to me...

 

Here's mine

<?xml version="1.0"?>

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

    <job id="3">
        <day>1,2,3,4,5,6,7</day> 
        <start>035930</start>
        <runtime>000000</runtime>
        <loop>0</loop> 
        <cmd>say -1 Server Restart in 30 seconds</cmd>              
    </job> 
 
    <job id="4">
        <day>1,2,3,4,5,6,7</day> 
        <start>035950</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="5">
        <day>1,2,3,4,5,6,7</day>
        <start>000010</start>
        <runtime>010000</runtime>
        <loop>-1</loop> 
        <cmd>say -1 website.com</cmd>            
    </job>

<!-- RESTART SERVER -->
    <job id="6">
        <day>1,2,3,4,5,6,7</day>
        <start>040000</start>
        <runtime>000000</runtime>
        <loop>0</loop> 
        <cmd>#shutdown</cmd>             
    </job>
 
</Scheduler> 

Oh, Raymix) Thx u for reply)

1. Bec is enabled d4e6b2f459.png

2. I looked ur shedule and didnt find some differents O_o

2.1. Only Firtst Strange ur is <?xml version="1.0"?>, my is <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

2.2. In my schedule is russian symbols O_o

Link to comment
Share on other sites

  • 0

Oh, Raymix) Thx u for reply)

1. Bec is enabled d4e6b2f459.png

2. I looked ur shedule and didnt find some differents O_o

2.1. Only Firtst Strange ur is <?xml version="1.0"?>, my is <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

2.2. In my schedule is russian symbols O_o

Maybe try a very simple version of a schedule.xml file with only 1 task that repeats frequently, and in english, without Russian characters.

 

Try this scheduler.xml:

<?xml version="1.0"?>

<Scheduler>
    
    <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>
 
</Scheduler>

It should start the message 2 minutes after BEC starts, and run every 30 seconds after that.

 

Do you have access to your BEC error logs?

Link to comment
Share on other sites

  • 0

Maybe try a very simple version of a schedule.xml file with only 1 task that repeats frequently, and in english, without Russian characters.

 

Try this scheduler.xml:

<?xml version="1.0"?>

<Scheduler>
    
    <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>
 
</Scheduler>

It should start the message 2 minutes after BEC starts, and run every 30 seconds after that.

 

Do you have access to your BEC error logs?

I removed russian characters. sheduler still now work. no errors in logs =\

Link to comment
Share on other sites

  • 0

You are going to have to confirm with your host that BEC is actually running. Having a check box doesn't actually mean it's running.

Dude, its running! Cus, for example, bad words BEC filter is works.And abother functions too. But only scheduler dont wanna work. Set up in native "Restart every: " is never, to lay BEC Scheduler work. Idk, rly. I thiught that mb someting in xml

Link to comment
Share on other sites

  • 0

Can you post your BEC config? (remember to remove passwords)

 

Are you putting the Schedule.xml file in the correct location?

2. Yes in correct location)

1.

# This config file is only provided as an example file.
# Edit it to sute your needs.
# For more info on how to edit this file. use the Readme.txt file or visit http://www.ibattle.org/install-and-configure
 
 
#--------------------------------------------------------------------------------------------------------
[bec]
#--------------------------------------------------------------------------------------------------------
 
# IMPORTANT!
# Survival Servers customers do not change Ip, Port, or BePath
Ip =  
Port = 
BePath =  
 
 
# Set the path to your Admins.xml file containing your admins.
Admins = Admins.xml
 
 
# Set the path to your Commands.xml file.
Commands = Commands.xml
 
 
#--------------------------------------------------------------------------------------------------------
[Misc]
#--------------------------------------------------------------------------------------------------------
 
# Set which type of hacks that will be added to your banlist.
# 0 = none. 1 = GameHack. 2 = Battleye Hack. 3 = both GameHack & Battleye Hack. 
# value 3 is set as default if this parameter is not defined.
Ban = 3
 
# Set the height & width of Becs console window
ConsoleHeight = 45
ConsoleWidth = 165
 
 
# Only allow english chars.
AsciiNickOnly = False
 
 
# Only allow english chars to be typed on the chat. Note, Warnings must be enabled. 0 or more.
AsciiChatOnly = false
 
 
# If AsciiChatOnly is set True. you can define none english chars that will be accepted.
# You separate each char with a , "note you need to define lower and upper case of the chars."
IgnoreChatChars = €,£,æ,Æ,ø,Ø,å,Å,ö,ä,ü,ß
 
 
# Set the amount of warnings a player will get before kicked. -1 is disabled. 0 instant kick
# 1 == one warning on a bad word. next bad word results in kick
Warnings = 3
 
 
# Kick players who has listed chars in their name
#DisallowPlayerNameChars
 
 
# Min length, kicks players who has to short name.
#MinPlayerNameLength = 3
 
 
# Max length, kicks players who has to long name.
MaxPlayerNameLength = 20
 
 
# Set the name of your Arma3server.exe if it has been renamed from arma3server.exe to something else!
# if the exe has its original name. comment it out.
# DO NOT SET FULL PATH TO THE EXE FILE
#ServerExeName = Arma3server.exe
 
 
# Set path to the file containing a list of bad words. Note, Warnings must be enabled. 0 or more.
WordFilterFile = BadWords.txt
 
 
# Set the path to the file containing whitelisted guids.
# Comment this line (by adding a # in front of WhiteListFile) if you do NOT want Whitelisting
#WhiteListFile = WhiteList.txt
 
 
# Set custom whitelist kick message. Text must be in ascii letters.  MAX 58 CHARS. BE only does ascii on messages
WhileListKickMsg = you are not whitelisted on this server.
 
 
# Kick people with offensive names
NickFilterFile = BadNames.txt
 
 
# Set the path to the Scheduler.xml file.
#Scheduler = Scheduler.xml
 
 
# Kick people who are idleing in the lobby, kick will happen after given time, Min time is 90 sec. use 0 to disable this function.
KickLobbyIdlers = 0
 
 
# If enabled. Bec will create seperate chat files for each channel along with the main file.
#ChatChannelFiles = true
 
# Set the amount of Normal players who can connect. Set it to -1 to disable it. 
# If set to 0 it means only players who are listed in the Admins.xml, (or whatever you call it) will be able to connect to the server.
# Quick Example 1: server can holed 50 players. and you want to reserve 5 slots for admins. then set SlotLimit to 45.
# Quick Example 2: server can holed 50 players. and you want to reserve 5 slots for admins and 5 slots for friends. then set SlotLimit to 40,
# AND edit your admins.xml. ADD in all your frineds guid and remaining data, put them in group example 100. or whatever you feel likt.
# by using this method you can give some of your friends some access to some commands if you like or none. 
# in general this is works like .Whitelisting X player slots for admins and friends, while leaving the remaining Y slots for public.
SlotLimit = -1
 
# Set the message people will get when they try to connect and is not whitelisted. Text must be in ascii letters.
SlotLimitKickMsg = The Server has reached its player limit.
 
 
# The amount of time Bec will wait for the server to start up.
Timeout = 30
 
 
#--------------------------------------------------------------------------------------------------------
[Reporter]
#--------------------------------------------------------------------------------------------------------
# Reporter account. Fill in the username and password for your reporter account.
# GameHacks, BattlEye Hacks will be reported to a database. all players who connect will also be checked against this database.
 
# Set the Username for your account
#User =  
 
 
# Set the Password for your account
#Password =  
 
#--------------------------------------------------------------------------------------------------------
[ChatRestriction]
#--------------------------------------------------------------------------------------------------------
# Set max amount of chat lines a player is allowed to send for each channel. 
# Going passed the number will result in kick. -1 is disabled, 0 isntant kick.
# If the number is higher than 0 players will be sent warnings.
 
Lobby = -1
Global = -1
Side = -1
Group = -1
Vehicle = -1
Command = -1
Commander = -1
Direct = -1
 
 
#--------------------------------------------------------------------------------------------------------
[ChatSpam]
#--------------------------------------------------------------------------------------------------------
 
# Set max amount of chat lines per channel allowed within given time frame.
# Set the values to 0 to disable this function(s)
 
# Quick Example:
# Lobby = 5
# Lobby_Time_Lower = 10
# Lobby_Time_Upper = 15
 
# If the time between each new chatlines from a player is less than CHANNEL_Time_Lower the spam counter increases by + 1. 
# Consider the CHANNEL (Lobby) as the spam counter.
# When a player has (CHANNEL - 1) in spam counting. a warning will be sent to whom it may consern.
# If the time between each new chatline from the player is Greater than CHANNEL_Time_Lower and Less than CHANNEL_Time_Upper the spam counter stay as it is.
# If the time since the last chatline is greater then CHANNEL_Time_Upper the spam counter is reset to 1.
# To get optimal result play around a bit with the values on your server.
 
Lobby = 0
Lobby_Time_Lower = 0
Lobby_Time_Upper = 0
 
Global = 0
Global_Time_Lower = 0
Global_Time_Upper = 0
 
Side = 0
Side_Time_Lower = 0
Side_Time_Upper = 0
 
Group = 0
Group_Time_Lower = 0
Group_Time_Upper = 0
 
Vehicle = 0
Vehicle_Time_Lower = 0
Vehicle_Time_Upper = 0
 
Command = 0
Command_Time_Lower = 0
Command_Time_Upper = 0
 
Commander = 0
Commander_Time_Lower = 0
Commander_Time_Upper = 0
 
Direct = 0
Direct_Time_Lower = 0
Direct_Time_Upper = 0
 
 

Link to comment
Share on other sites

  • 0

bro, your scheduler is commented out and thus not activated, remove the # in front of:

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

also make sure that xml file is in same directory as other xml/txt configs

Link to comment
Share on other sites

  • 0

bro, your scheduler is commented out and thus not activated, remove the # in front of:

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

also make sure that xml file is in same directory as other xml/txt configs

....................................

i havent words, only badwords on my tongue........ how i didnt see it??? 

anyway, thx u very much dude :D 

Always big problems in small mistakes..... 

Guys, sorry for wasted time)) Thx  :) 

Link to comment
Share on other sites

  • 0

bro, your scheduler is commented out and thus not activated, remove the # in front of:

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

also make sure that xml file is in same directory as other xml/txt configs

Its still not work -_- no errors in logs. God of XML cursed me

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
  • Discord

×
×
  • Create New...