Raspbian - Transmission torrents don't start after rebooting
Posted: Sat May 16, 2020 10:51 am
I wrote a bash file and put in cron to start my torrents (on web interface) automatically after rebooting the system, but nothing happens.
The crontab -e
torrent.sh
has got all permissions.[/code]
P.S.: If I run the script from terminal my torrents start normally.
Hope you can help!
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!