Merge pull request #215 from rodriciru/fixLogsDIrCreation

Fix log dir error on docker if not created
pull/219/head
Suresh Alse 2 years ago committed by GitHub
commit 8d9e9a73a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -26,6 +26,9 @@ var cron_parser = require("cron-parser");
var cronstrue = require('cronstrue/i18n');
var humanCronLocate = process.env.HUMANCRON ?? "en"
if (!fs.existsSync(exports.log_folder)){
fs.mkdirSync(exports.log_folder);
}
crontab = function(name, command, schedule, stopped, logging, mailing){
var data = {};

Loading…
Cancel
Save