diff --git a/lib/job.js b/lib/job.js index 5ebb7be0..4c823952 100644 --- a/lib/job.js +++ b/lib/job.js @@ -1589,8 +1589,9 @@ module.exports = Class.create({ if (job.timeout && (now - job.time_start >= job.timeout)) { this.logDebug(4, "Job has exceeded max run time and will be aborted: " + id + " (" + job.timeout + " sec)"); + // JH 2021-01-23 Setting no_rewind to 1 for timeout aborts, as per GH #369 var nice_timeout = Tools.getTextFromSeconds( job.timeout, false, true ); - this.abortJob({ id: id, reason: "Exceeded maximum run time ("+nice_timeout+")" }); + this.abortJob({ id: id, reason: "Exceeded maximum run time ("+nice_timeout+")", no_rewind: 1 }); continue; } // timed out diff --git a/package.json b/package.json index 2071275f..92f46df4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "Cronicle", - "version": "0.8.55", + "version": "0.8.56", "description": "A simple, distributed task scheduler and runner with a web based UI.", "author": "Joseph Huckaby ", "homepage": "https://github.com/jhuckaby/Cronicle",