Update crontab.js
parent
e5083cec26
commit
b382c16813
|
@ -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();
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue