server-socket-framework-jps
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -40,3 +40,3 @@ "use strict"; | ||
queueItem.nextRunTime = this.calculateNextExecuteTime(queueItem.config); | ||
logger(`Executing job ${queueItem.config.name}, next execution time will be ${(0, moment_1.default)(queueItem.nextRunTime).format('DD/MM/YYYY HH:mm')}`); | ||
logger(`Executing job ${queueItem.config.name}, next execution time will be ${(0, moment_1.default)(queueItem.nextRunTime, 'YYYYMMDDHHmm').format('DD/MM/YYYY HH:mm')}`); | ||
queueItem.config.job.executeJob((0, uuid_1.v4)(), this.jobCallback); | ||
@@ -62,3 +62,4 @@ } | ||
else { | ||
nextExecuteTime = parseFloat((0, moment_1.default)().add(config.executeEveryMinutes, 'minutes').format('YYYYMMDDHHmm')); | ||
const nextTime = (0, moment_1.default)().add(config.executeEveryMinutes, 'minutes').format('YYYYMMDDHHmm'); | ||
nextExecuteTime = parseFloat(nextTime); | ||
} | ||
@@ -65,0 +66,0 @@ return nextExecuteTime; |
{ | ||
"name": "server-socket-framework-jps", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "A simple socket framework for persistent chat rooms and data messages", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
73411
1008