Browse Source

update linux task

New Future 7 years ago
parent
commit
84d6f4a9fb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      task.sh

+ 1 - 1
task.sh

@@ -1,7 +1,7 @@
 #!/usr/bin/env bash
 RUN_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )";
 
-CMD="'$RUN_DIR/run.py' -c '$RUN_DIR/config.json' >> '$RUN_DIR/run.log'"
+CMD="\"$RUN_DIR/run.py\" -c \"$RUN_DIR/config.json\" >> \"$RUN_DIR/run.log\""
 
 echo "*/5 * * * *   root    '$CMD'" > /etc/cron.d/ddns;
 /etc/init.d/cron reload;