From 4f9cac8a289b1080e427420197754e35b7788793 Mon Sep 17 00:00:00 2001 From: bmen Date: Tue, 24 Sep 2019 20:37:13 +0000 Subject: [PATCH] =?UTF-8?q?=E2=80=9EREADME.md=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 23416d4..58c3af8 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,14 @@ # qnap +## rsync +**Do NOT edit crontab the usual way!** `crontab -e` + +However, due to the way the QNAP firmware updates crontab, it will be overwritten on the next reboot. Obviously, you want your automation to survive reboots, so edit the crontab file directly with your text editor: +``` +vim /etc/config/crontab +``` +When you're done, reload the crontab file and restart the cron daemon: +``` +crontab /etc/config/crontab && /etc/init.d/crond.sh restart +``` +https://wiki.qnap.com/wiki/Add_items_to_crontab \ No newline at end of file