To get peers at every five minutes just add to cron ($ crontab -e):
*/5 * * * * LD_LIBRARY_PATH=/i-data/md0/.system/zy-pkgs/lib
/i-data/md0/.system/zy-pkgs/bin/transmission-remote -tall
--reannounce
Restart Transmission at 1 am:
0 1 * * * LD_LIBRARY_PATH=/usr/local/zy-pkgs/lib /usr/local/zy-pkgs/etc/init.d/Transmission disable
5 1 * * * LD_LIBRARY_PATH=/usr/local/zy-pkgs/lib /usr/local/zy-pkgs/etc/init.d/Transmission enable
Now reboot:
/etc/init.d/crond.sh restart
No comments:
Post a Comment