Update to daily maintenance schedule

This commit is contained in:
Bryan Ashby 2019-02-10 12:31:25 -07:00
parent 6a7aa5acb8
commit a314b40eb8
3 changed files with 8 additions and 5 deletions

View File

@ -17,6 +17,9 @@
// * http://www.bbsdocumentary.com/library/PROGRAMS/GRAPHICS/ANSI/ansisys.txt // * http://www.bbsdocumentary.com/library/PROGRAMS/GRAPHICS/ANSI/ansisys.txt
// * http://academic.evergreen.edu/projects/biophysics/technotes/program/ansi_esc.htm // * 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 // VTX
// * https://github.com/codewar65/VTX_ClientServer/blob/master/vtx.txt // * https://github.com/codewar65/VTX_ClientServer/blob/master/vtx.txt
// //

View File

@ -953,9 +953,9 @@ function getDefaultConfig() {
eventScheduler : { eventScheduler : {
events : { events : {
resetDailyStats : { dailyMaintenance : {
schedule : 'at 12:00:01am', // note: Later.js places this right @ midnight schedule : 'at 11:59pm',
action : '@method:core/misc_scheduled_events.js:resetDailyStatsScheduledEvent', action : '@method:core/misc_scheduled_events.js:dailyMaintenanceScheduledEvent',
}, },
trimMessageAreas : { trimMessageAreas : {
// may optionally use [or ]@watch:/path/to/file // may optionally use [or ]@watch:/path/to/file

View File

@ -4,9 +4,9 @@
const StatLog = require('./stat_log.js'); const StatLog = require('./stat_log.js');
const SysProps = require('./system_property.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 // Various stats need reset daily
// //