mirror of
https://github.com/NewFuture/DDNS.git
synced 2022-04-19 20:24:44 +00:00
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user