reenable disabled jobs

This commit is contained in:
David Stephens 2019-05-27 15:50:07 +01:00
parent 072246ae1b
commit ca8add36b5
1 changed files with 28 additions and 28 deletions

View File

@ -984,38 +984,38 @@ function getDefaultConfig() {
eventScheduler : { eventScheduler : {
events : { events : {
// dailyMaintenance : { dailyMaintenance : {
// schedule : 'at 11:59pm', schedule : 'at 11:59pm',
// action : '@method:core/misc_scheduled_events.js:dailyMaintenanceScheduledEvent', 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
// schedule : 'every 24 hours', schedule : 'every 24 hours',
// // action: // action:
// // - @method:path/to/module.js:theMethodName // - @method:path/to/module.js:theMethodName
// // (path is relative to ENiGMA base dir) // (path is relative to ENiGMA base dir)
// // //
// // - @execute:/path/to/something/executable.sh // - @execute:/path/to/something/executable.sh
// // //
// action : '@method:core/message_area.js:trimMessageAreasScheduledEvent', action : '@method:core/message_area.js:trimMessageAreasScheduledEvent',
// }, },
// nntpMaintenance : { nntpMaintenance : {
// schedule : 'every 12 hours', // should generally be < trimMessageAreas interval schedule : 'every 12 hours', // should generally be < trimMessageAreas interval
// action : '@method:core/servers/content/nntp.js:performMaintenanceTask', action : '@method:core/servers/content/nntp.js:performMaintenanceTask',
// }, },
// updateFileAreaStats : { updateFileAreaStats : {
// schedule : 'every 1 hours', schedule : 'every 1 hours',
// action : '@method:core/file_base_area.js:updateAreaStatsScheduledEvent', action : '@method:core/file_base_area.js:updateAreaStatsScheduledEvent',
// }, },
// forgotPasswordMaintenance : { forgotPasswordMaintenance : {
// schedule : 'every 24 hours', schedule : 'every 24 hours',
// action : '@method:core/web_password_reset.js:performMaintenanceTask', action : '@method:core/web_password_reset.js:performMaintenanceTask',
// args : [ '24 hours' ] // items older than this will be removed args : [ '24 hours' ] // items older than this will be removed
// }, },
// //
// Enable the following entry in your config.hjson to periodically create/update // Enable the following entry in your config.hjson to periodically create/update