„README.md“ ändern

This commit is contained in:
bmen 2019-09-24 20:37:13 +00:00
parent 66a6adfa8a
commit 4f9cac8a28
1 changed files with 12 additions and 0 deletions

View File

@ -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