mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-23 11:16:10 +02:00
Reset daily stats @ midnight, duh
This commit is contained in:
parent
032e6d59b8
commit
6a7aa5acb8
2 changed files with 22 additions and 0 deletions
|
@ -953,6 +953,10 @@ 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',
|
||||
},
|
||||
trimMessageAreas : {
|
||||
// may optionally use [or ]@watch:/path/to/file
|
||||
schedule : 'every 24 hours',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue