mirror of
https://github.com/NewFuture/DDNS.git
synced 2022-04-19 20:24:44 +00:00
5 lines
173 B
Bash
Executable File
5 lines
173 B
Bash
Executable File
#!/usr/bin/env bash
|
|
RUN_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )";
|
|
echo "*/5 * * * * root ${RUN_DIR}/run.sh" > /etc/cron.d/ddns;
|
|
/etc/init.d/cron reload;
|