Fixing case where the log folder path has spaces

pull/111/head
alse 5 years ago
parent 739aa2ccd4
commit 9d5238b0aa

@ -103,8 +103,8 @@ exports.set_crontab = function(env_vars, callback){
if (tab.logging && tab.logging == "true") { if (tab.logging && tab.logging == "true") {
crontab_string += "; if test -f " + stderr + crontab_string += "; if test -f " + stderr +
"; then date >> " + log_file + "; then date >> \"" + log_file + "\"" +
"; cat " + stderr + " >> " + log_file + "; cat " + stderr + " >> \"" + log_file + "\"" +
"; fi"; "; fi";
} }

Loading…
Cancel
Save