Fixing case where the log folder path has spaces
parent
739aa2ccd4
commit
9d5238b0aa
|
@ -103,8 +103,8 @@ exports.set_crontab = function(env_vars, callback){
|
|||
|
||||
if (tab.logging && tab.logging == "true") {
|
||||
crontab_string += "; if test -f " + stderr +
|
||||
"; then date >> " + log_file +
|
||||
"; cat " + stderr + " >> " + log_file +
|
||||
"; then date >> \"" + log_file + "\"" +
|
||||
"; cat " + stderr + " >> \"" + log_file + "\"" +
|
||||
"; fi";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue