From 3ac83aafce696638adfab9fe3081e4d902b57487 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 23 Sep 2014 12:16:40 +0100 Subject: [PATCH] Restart cron after editing crontab --- install-freedombone.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install-freedombone.sh b/install-freedombone.sh index 8b2e6a72..9561b8da 100755 --- a/install-freedombone.sh +++ b/install-freedombone.sh @@ -1002,6 +1002,7 @@ function dynamic_dns_freedns { if ! grep -q "dynamicdns" /etc/crontab; then sed -i '/# m h dom mon dow user command/a\*/5 * * * * root /usr/bin/timeout 240 /usr/bin/dynamicdns' /etc/crontab fi + service cron restart echo 'dynamic_dns_freedns' >> $COMPLETION_FILE }