auanasgheps / snapraid-aio-script

The definitive all-in-one SnapRAID script on Linux. Diff, sync, scrub are things of the past. Manage SnapRAID and much, much more!
GNU General Public License v3.0
225 stars 36 forks source link

Handle case where snapraid is already running #62

Closed firasdib closed 1 year ago

firasdib commented 1 year ago

I run this script every day, but sometimes the execution runs for over 24h, due to large changes to the data. The script should check that snapraid is available before going ahead with pausing and doing all the stuff it does

auanasgheps commented 1 year ago

Thank you, I will work on this. The script will stop and alert the user via the configured notification methods.

By the way, are you sure you want your jobs to run for 24h?

firasdib commented 1 year ago

No, typically not. It’s just happened when large amounts of data had moved. It’s not a common case :-)Vänliga hälsningar / Best regards,Firas DibOn 13 Jun 2023, at 10:26, Oliver Cervera @.***> wrote: Thank you, I will work on this. The script will stop and alert the user via the configured notification methods. By the way, are you sure you want your jobs to run for 24h?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

auanasgheps commented 1 year ago

Implemented in dev branch. Tested and works as expected! Will close this out.