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
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
沒有留言:
張貼留言