Lith 80 Posted July 9, 2012 I'm trying to configure messages to scroll right before my server restarts. I'm connecting just fine with the program but no matter what options I choose for the scheduler to send a message, I'm not seeing it in the Console view. I've tried specifying the full path to the .XML file and just using the recommended line for it. Even a line as simple as this isn't showing: 1 1,2,3,4,5,6,7 1 say -1 Test 0 Any help from anyone that has this working would be appreciated. Share this post Link to post Share on other sites
rabble-rouser 3 Posted July 9, 2012 If it seems like the scheduler just is not working at all make sure you added it to the BEC config fileScheduler = scheduler.xmlscheduler.xml goes in the same place as the rest of the config .xml files. Share this post Link to post Share on other sites
Lith 80 Posted July 9, 2012 Yeah I did. Could it be something to do with me using the public IP to connect to it instead of the internal IP even though it's really residing on the server? Share this post Link to post Share on other sites
goodspellar 4 Posted July 11, 2012 I'd like to know this also Share this post Link to post Share on other sites
rabble-rouser 3 Posted July 11, 2012 I'll try and post what I got here in a bit sorry been trying to keep up with server hanging. Share this post Link to post Share on other sites
Lith 80 Posted July 21, 2012 Bumping this. Still cannot get scheduler to work for myself. Share this post Link to post Share on other sites
ebianbluefox 29 Posted July 21, 2012 copy the contents of your scheduler and I'll take a look at it. Share this post Link to post Share on other sites
Lith 80 Posted July 21, 2012 (edited) Scheduler.xml Contains:?xml version="1.0"?><Scheduler><job id="0"><time>1</time><day>1,2,3,4,5,6,7</day><loop>1</loop><cmd>say -1 Test</cmd><cmdtype>0</cmdtype></job></Scheduler>Config.cfg Contains:[Bec]Ip = 69.162.82.210Port = 2302BePath = C:\Program Files (x86)\Steam\steamapps\common\arma 2 operation arrowhead\cfgdayz\BattlEyeLogDir = BECDayZAdmins = Admins.xmlCommands = Commands.xmlScheduler = C:\BEC\Config\Scheduler.xml Edited July 21, 2012 by Lith Share this post Link to post Share on other sites
Sna.ke 43 Posted July 21, 2012 Well, I think your time command is off.If you want ot to repeat every one minute, try this:<time>000100</time>It is formulated as HRMISS (2 digits hour, 2 digits minute, 2 digits second). Share this post Link to post Share on other sites
ebianbluefox 29 Posted July 21, 2012 (edited) It's your time It has to be 6 digits long (HHMMSS) if your doing it by the minute instead of exact time. SO one minute would be 000100 Edited July 21, 2012 by ebianbluefox Share this post Link to post Share on other sites
Lith 80 Posted July 21, 2012 Okay so that was what I was trying to test with. Here's my original scheduler:<?xml version="1.0"?><Scheduler><!-- INTERNAL COMMANDS --><job id="0"><time>02:45</time><day>1,2,3,4,5,6,7</day><loop>0</loop> <cmd>say -1 Server will be restarting in 15 minutes. Please prepare accordingly.</cmd> <cmdtype>0</cmdtype> </job><job id="1"><time>02:55</time><day>1,2,3,4,5,6,7</day><loop>0</loop> <cmd>say -1 Server will be restarting in 5 minutes. Please prepare accordingly.</cmd> <cmdtype>0</cmdtype> </job><job id="2"><time>02:59</time><day>1,2,3,4,5,6,7</day><loop>0</loop> <cmd>say -1 Server will be restarting in 1 minute. Please prepare accordingly.</cmd> <cmdtype>0</cmdtype> </job><job id="3"><time>14:45</time><day>1,2,3,4,5,6,7</day><loop>0</loop> <cmd>say -1 Server will be restarting in 15 minutes. Please prepare accordingly.</cmd> <cmdtype>0</cmdtype> </job><job id="4"><time>14:55</time><day>1,2,3,4,5,6,7</day><loop>0</loop> <cmd>say -1 Server will be restarting in 5 minutes. Please prepare accordingly.</cmd> <cmdtype>0</cmdtype> </job><job id="5"><time>14:59</time><day>1,2,3,4,5,6,7</day><loop>0</loop> <cmd>say -1 Server will be restarting in 1 minute. Please prepare accordingly.</cmd> <cmdtype>0</cmdtype> </job><job id="6"><time>4:25</time><day>1,2,3,4,5,6,7</day><loop>0</loop> <cmd>say -1 TESTING SCHEDULER!</cmd> <cmdtype>0</cmdtype> </job></Scheduler> Share this post Link to post Share on other sites
Sna.ke 43 Posted July 21, 2012 Just out of curiousity, why do you not initiate the #shutdown command in your scheduler script? Share this post Link to post Share on other sites
Lith 80 Posted July 21, 2012 Because I'm already running scripts I don't feel like changing for that. Share this post Link to post Share on other sites
SubEclipse 22 Posted July 24, 2012 (edited) Did you ever figure this out? I got BEC running today and am having the same problem... scheduler doesn't seem to want to run anything I throw at it.For instance, this does not run:<?xml version="1.0"?><Scheduler><job id="0"><time>0000020</time><day>1,2,3,4,5,6,7</day><loop>1</loop><cmd>say -1 Testing scheduler</cmd><cmdtype>0</cmdtype></Scheduler> Edited July 24, 2012 by SubEclipse Share this post Link to post Share on other sites
ryahn 112 Posted July 24, 2012 Here is my scheduler.xml. I had an extensive talk with the creator of bec. He helped me out with everything I needed.<?xml version="1.0"?><Scheduler><!--*** INTERNAL COMMANDS ***--><!--Heart Beat Check--><job id="0"><time>000300</time><day>1,2,3,4,5,6,7</day><loop>1</loop><cmd>say -1 Heartbeat Check = Showing? = Yes|Running</cmd><cmdtype>0</cmdtype></job><!-- Show text ingame after 10 min with loop enabled --><job id="1"><time>000600</time><day>1,2,3,4,5,6,7</day><loop>1</loop><cmd>say -1 Server restarts every day at 1AM PST</cmd><cmdtype>0</cmdtype></job><!--Show Text Every 30 Minutes--><job id="2"><time>003000</time><day>1,2,3,4,5,6,7</day><loop>1</loop><cmd>say -1 Please Report All Issues/Hackers To Ryahn On The DayZ Forums</cmd><cmdtype>0</cmdtype></job><!--Load Bans Every 30 Minutes--><job id="3"><time>003000</time><day>1,2,3,4,5,6,7</day><loop>1</loop><cmd>loadbans</cmd><cmdtype>0</cmdtype></job><!-- Restart the server 01:00 Am. --><job id="4"><time>01:00</time><day>1,2,3,4,5,6,7</day><loop>1</loop><cmd>#restart</cmd><cmdtype>0</cmdtype></job></Scheduler> Share this post Link to post Share on other sites
ryahn 112 Posted July 24, 2012 Did you ever figure this out? I got BEC running today and am having the same problem... scheduler doesn't seem to want to run anything I throw at it.For instance, this does not run:<?xml version="1.0"?><Scheduler><job id="0"><time>0000020</time><day>1,2,3,4,5,6,7</day><loop>1</loop><cmd>say -1 Testing scheduler</cmd><cmdtype>0</cmdtype></Scheduler>If that is how it looks, you forgot to add </job> at the end of it<?xml version="1.0"?><Scheduler><job id="0"><time>0000020</time><day>1,2,3,4,5,6,7</day><loop>1</loop><cmd>say -1 Testing scheduler</cmd><cmdtype>0</cmdtype></job></Scheduler> Share this post Link to post Share on other sites
Lith 80 Posted July 24, 2012 Did you ever figure this out? I got BEC running today and am having the same problem... scheduler doesn't seem to want to run anything I throw at it.For instance, this does not run:<?xml version="1.0"?><Scheduler><job id="0"><time>0000020</time><day>1,2,3,4,5,6,7</day><loop>1</loop><cmd>say -1 Testing scheduler</cmd><cmdtype>0</cmdtype></Scheduler>Nope. Never figured it out. Can't get it to work on a timed schedule at all. Share this post Link to post Share on other sites
ryahn 112 Posted July 24, 2012 If you would like I could teamviewer you to help you out. Share this post Link to post Share on other sites
SubEclipse 22 Posted July 24, 2012 If that is how it looks, you forgot to add </job> at the end of it<?xml version="1.0"?><Scheduler><job id="0"><time>0000020</time><day>1,2,3,4,5,6,7</day><loop>1</loop><cmd>say -1 Testing scheduler</cmd><cmdtype>0</cmdtype></job></Scheduler>Thanks... unfortunately it was just a bad cut/paste and edit job on my part here... I had the close job tag on my server.I actually tried using your scheduler code as well with no luck.I'll give it another go this afternoon, and maybe I'll take you up on your offer to look over teamviewer if I strike out.I'll pm you my ID/Pass and Ventrilo info if all else fails.Thanks. Share this post Link to post Share on other sites
SubEclipse 22 Posted July 24, 2012 Nope. Never figured it out. Can't get it to work on a timed schedule at all.It's weird... I tried everything that you tried as well, using full paths to the file from Myconfig.cfg, etc. Relative paths must be working, since my Admins.xml file is working. Share this post Link to post Share on other sites
SubEclipse 22 Posted July 24, 2012 P.S. I don't think controls is working properly in my case, either. Share this post Link to post Share on other sites
ElRolle 97 Posted July 24, 2012 Thanks... unfortunately it was just a bad cut/paste and edit job on my part here... I had the close job tag on my server.I actually tried using your scheduler code as well with no luck.I'll give it another go this afternoon, and maybe I'll take you up on your offer to look over teamviewer if I strike out.I'll pm you my ID/Pass and Ventrilo info if all else fails.Thanks.You have 7 digits in your time value, like someone said earlier in this thread it's supposed to be hhmmss. Share this post Link to post Share on other sites
SubEclipse 22 Posted July 24, 2012 You have 7 digits in your time value, like someone said earlier in this thread it's supposed to be hhmmss.Good catch, I think I had it correctly set with 6 digits in testing, but I'm trying again now. Share this post Link to post Share on other sites