The crontab -e
Code: Select all
@reboot bash /home/pi/torrent.sh >> /home/pi/torrent.log 2>&1
Code: Select all
echo
date
sudo service transmission-daemon start
sleep 10
sudo transmission-remote -t all -s
sleep 1
The [code]torrent.sh
P.S.: If I run the script from terminal my torrents start normally.
Hope you can help!