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: | Ragnarok |
|---|---|
| Location: | Dock Sud, Bs As, Argentina |
| Users: | 137 |
| Nodes: | 10 (0 / 10) |
| Uptime: | 118:08:18 |
| Calls: | 15,363 |
| Calls today: | 1 |
| Files: | 20,059 |
| D/L today: |
5 files (323K bytes) |
| Messages: | 1,798,820 |