2016年6月11日 星期六

[QNAP NAS] Add items to crontab

1. Edit /etc/config/crontab and add your custom entry.
2. Run '/usr/bin/crontab /etc/config/crontab' to load the changes.
3. Restart cron, i.e. '/etc/init.d/crond.sh restart'
PS. Don't forget to make your scripts executable ! Otherwise they would not start!

chmod +x filename.sh



Reference Links:
http://wiki.qnap.com/wiki/Add_items_to_crontab