You've already forked crontab-ui
mirror of
https://github.com/alseambusher/crontab-ui.git
synced 2025-12-15 11:43:58 +08:00
Fixing case where the log folder path has spaces
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user