mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-11 15:14:36 +02:00
Dump schedule info @ load
This commit is contained in:
parent
9f22117e49
commit
6a28b3ff35
1 changed files with 3 additions and 1 deletions
|
@ -1216,8 +1216,9 @@ FTNMessageScanTossModule.prototype.startup = function(cb) {
|
||||||
if(exportSchedule) {
|
if(exportSchedule) {
|
||||||
Log.debug(
|
Log.debug(
|
||||||
{
|
{
|
||||||
schedule : this.moduleConfig.schedule.export,
|
schedule : this.moduleConfig.schedule.export,
|
||||||
schedOK : -1 === exportSchedule.sched.error,
|
schedOK : -1 === exportSchedule.sched.error,
|
||||||
|
next : moment(later.schedule(exportSchedule.sched).next(1)).format('ddd, MMM Do, YYYY @ h:m:ss a'),
|
||||||
immediate : exportSchedule.immediate ? true : false,
|
immediate : exportSchedule.immediate ? true : false,
|
||||||
},
|
},
|
||||||
'Export schedule loaded'
|
'Export schedule loaded'
|
||||||
|
@ -1245,6 +1246,7 @@ FTNMessageScanTossModule.prototype.startup = function(cb) {
|
||||||
{
|
{
|
||||||
schedule : this.moduleConfig.schedule.import,
|
schedule : this.moduleConfig.schedule.import,
|
||||||
schedOK : -1 === importSchedule.sched.error,
|
schedOK : -1 === importSchedule.sched.error,
|
||||||
|
next : moment(later.schedule(importSchedule.sched).next(1)).format('ddd, MMM Do, YYYY @ h:m:ss a'),
|
||||||
watchFile : _.isString(importSchedule.watchFile) ? importSchedule.watchFile : 'None',
|
watchFile : _.isString(importSchedule.watchFile) ? importSchedule.watchFile : 'None',
|
||||||
},
|
},
|
||||||
'Import schedule loaded'
|
'Import schedule loaded'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue