Hey Rob,
When I login to my SBBS on a Sunday, I get this message printed and in the log:
Oct 25 15:05:37 p-1-1 synchronet: term Node 2 <deon> Node 2 Time reduced (to 13:54:23) due to upcoming event (msgmaint) on Mon Oct 26 2020 05:00 am
The problem is - in SCFG, MSGMAINT is configured to run on Sunday, not Monday, and it appears it already ran:
Oct 25 05:00:00 p-1-1 synchronet: evnt MSGMAINT Waiting for node 1 to run timed event: MSGMAINT
Oct 25 05:00:00 p-1-1 synchronet: evnt MSGMAINT Waiting for all nodes to become inactive before running timed event
Oct 25 05:00:01 p-1-1 synchronet: evnt MSGMAINT Running native timed event: MSGMAINT
(This is a 2 week old build of SBBS).
I imagine that's because of this code in data.cpp:
if(tm.tm_mday==last_tm.tm_mday && tm.tm_mon==last_tm.tm_mon)
thisevent+=24L*60L*60L; /* already ran today, so add 24hrs */
Assuming it's going to run again 24 hours later isn't always going to be correct.
Oct 25 15:05:37 p-1-1 synchronet: term Node 2 <deon> Node 2 Time reduced (to 13:54:23) due to upcoming event (msgmaint) on Mon
Oct 26 2020 05:00 am
I imagine that bug has been there 20 or 30 years now. :-)
Sysop: | Gate Keeper |
---|---|
Location: | Shelby, NC |
Users: | 787 |
Nodes: | 20 (0 / 20) |
Uptime: | 105:25:37 |
Calls: | 11,982 |
Calls today: | 4 |
Files: | 5,294 |
D/L today: |
4 files (865K bytes) |
Messages: | 555,982 |