Quote:
Originally Posted by qkqw
As you spawn a command, it will immediately return and execute the rescan.
|
That’s what I thought. But as I mentioned,
cmd_output isn't working either. I did see another post on these forums suggesting
cmd_spawn should work with chaining but I lost the link.
Quote:
Originally Posted by qkqw
|
Oh, I have a working rclone setup, and that post was a major help in getting to that state. Thank you! If you squint, you'll notice my script is inspired by yours. I also have a suggestion for the bit on waiting for a connection, which I also modified to be (for me) shorter and simpler:
Code:
retries=60
while [ "$retries" -gt 0 ]
do
ping -c 1 -w 3 '1.1.1.1' && break
sleep 1
retries="$((retries - 1))"
done
Thank you again.