This commit is contained in:
New Future
2018-12-11 22:03:44 +08:00
committed by GitHub
parent 7c3d527af5
commit 4679a78013
+1 -1
View File
@@ -3,5 +3,5 @@ RUN_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )";
CMD="\"$RUN_DIR/run.py\" -c \"$RUN_DIR/config.json\" >> \"$RUN_DIR/run.log\""
echo "*/5 * * * * root '$CMD'" > /etc/cron.d/ddns;
echo "*/5 * * * * root $CMD" > /etc/cron.d/ddns;
/etc/init.d/cron reload;