-
Notifications
You must be signed in to change notification settings - Fork 19
plexidrive.sh shouldn't run if the script is already being executed #1
Comments
Agreed. I'll add that in shortly and update this issue when done. |
Fixed with commit 23fdebb. Added check at beginning of plexidrive.sh to ensure script is not already running. |
Scratch that last commit. Reopening this issue and reverting the last commit as it prevents the script from being ran at all. Needs further investigation. |
Yeah I see that too, however I'm not sure why it doesnt work with an |
Yeah, the issue with that is I typically run the script with screen. So it'll count the screen instance and the actual script running so the count will already be at 2 when running the script once. I'll look into finding another way to detect that the script is already running. |
PR incoming, give me a few mins |
Thanks for sorting this one out. |
If plexidrive.sh checks to see if it's already running before executing, it would mean we can have a relatively frequent cronjob schedule.
The text was updated successfully, but these errors were encountered: