amplatfus
Senior Member
I have modified below lines:
into
in order to have info in System Log - General Log.
BR.
Code:
for id in $ids ; do
echo "Processing torrent #$id..."
hash="$(transmission-remote --auth=$auth --torrent $id --info | grep '^ Hash: ' | awk '{ print $2 }')"
add_trackers $hash
done
Code:
for id in $ids ; do
echo "Processing torrent #$id..."
#below is the new line in order to have info in System Log - General Log
logger -t "$0" "Script run for torrent id "$id""
hash="$(transmission-remote --auth=$auth --torrent $id --info | grep '^ Hash: ' | awk '{ print $2 }')"
add_trackers $hash
done
BR.