Raspbian - Transmission torrents don't start after rebooting

Discussion of Transmission that doesn't fit in the other categories
Post Reply
llonnantyr
Posts: 1
Joined: Sat May 16, 2020 10:46 am

Raspbian - Transmission torrents don't start after rebooting

Post by llonnantyr »

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

Code: Select all

@reboot bash /home/pi/torrent.sh >> /home/pi/torrent.log 2>&1
torrent.sh

Code: Select all

echo
date
sudo service transmission-daemon start
sleep 10
sudo transmission-remote -t all -s
sleep 1
The [code]torrent.sh
has got all permissions.[/code]

P.S.: If I run the script from terminal my torrents start normally.

Hope you can help!
Post Reply