From b382c16813885994296714d8f854d4c2921eefbd Mon Sep 17 00:00:00 2001 From: Thinh VoXuan Date: Wed, 29 Aug 2018 17:19:10 +0700 Subject: [PATCH] Update crontab.js --- crontab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crontab.js b/crontab.js index b40ff69..9e578b4 100644 --- a/crontab.js +++ b/crontab.js @@ -134,7 +134,7 @@ exports.set_crontab = function(env_vars, callback){ /// In docker we're running crond using busybox implementation of crond /// It is launched as part of the container startup process, so no need to run it again // if(process.env.CRON_IN_DOCKER === undefined) { - exec("crontab " + path.join(cronPath, "crontab"), function(err) { + exec("crontab " + path.join(cronPath, fileName), function(err) { if (err) return callback(err); else callback(); });