You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm looking to automatically scan torrent paths when a download completes. This is a bit challenging with flock, as with flock the path to be scanned by at2 is in an argument of at2 nested inside of an argument of flock... I could write an script to handle the building of the command... but I'm wondering how critical this really is.
The readme for autotorrent2 warns about scripting, multiple instances, and recommends using flock. I'm curious, how critical are the issues observed if multiple instances are run?
I guess that one instance might fail/throw an exception if trying to write to the database while another instance is writing/has it locked. As long as this fails without causing corruption of the database, then this may be a risk I'd be willing to accept.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm looking to automatically scan torrent paths when a download completes. This is a bit challenging with flock, as with flock the path to be scanned by at2 is in an argument of at2 nested inside of an argument of flock... I could write an script to handle the building of the command... but I'm wondering how critical this really is.
The readme for autotorrent2 warns about scripting, multiple instances, and recommends using flock. I'm curious, how critical are the issues observed if multiple instances are run?
I guess that one instance might fail/throw an exception if trying to write to the database while another instance is writing/has it locked. As long as this fails without causing corruption of the database, then this may be a risk I'd be willing to accept.
Beta Was this translation helpful? Give feedback.
All reactions