diff --git a/core/ansi_term.js b/core/ansi_term.js index 353c46c8..20cc1d78 100644 --- a/core/ansi_term.js +++ b/core/ansi_term.js @@ -17,6 +17,9 @@ // * http://www.bbsdocumentary.com/library/PROGRAMS/GRAPHICS/ANSI/ansisys.txt // * http://academic.evergreen.edu/projects/biophysics/technotes/program/ansi_esc.htm // +// Modern Windows (Win10+) +// * https://docs.microsoft.com/en-us/windows/console/console-virtual-terminal-sequences +// // VTX // * https://github.com/codewar65/VTX_ClientServer/blob/master/vtx.txt // diff --git a/core/config.js b/core/config.js index 73179ced..4a71e634 100644 --- a/core/config.js +++ b/core/config.js @@ -953,9 +953,9 @@ function getDefaultConfig() { eventScheduler : { events : { - resetDailyStats : { - schedule : 'at 12:00:01am', // note: Later.js places this right @ midnight - action : '@method:core/misc_scheduled_events.js:resetDailyStatsScheduledEvent', + dailyMaintenance : { + schedule : 'at 11:59pm', + action : '@method:core/misc_scheduled_events.js:dailyMaintenanceScheduledEvent', }, trimMessageAreas : { // may optionally use [or ]@watch:/path/to/file diff --git a/core/misc_scheduled_events.js b/core/misc_scheduled_events.js index 64a73ea5..1650b697 100644 --- a/core/misc_scheduled_events.js +++ b/core/misc_scheduled_events.js @@ -4,9 +4,9 @@ const StatLog = require('./stat_log.js'); const SysProps = require('./system_property.js'); -exports.resetDailyStatsScheduledEvent = resetDailyStatsScheduledEvent; +exports.dailyMaintenanceScheduledEvent = dailyMaintenanceScheduledEvent; -function resetDailyStatsScheduledEvent(args, cb) { +function dailyMaintenanceScheduledEvent(args, cb) { // // Various stats need reset daily //