Update to daily maintenance schedule
This commit is contained in:
parent
6a7aa5acb8
commit
a314b40eb8
|
@ -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
|
||||
//
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue