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 have a .sh plugin running each minute, from times to time it needs to take an action that may take more than 1min. So executions are pilling on top of each other. I've added a lock file handling to it like:
_lock="${_this_path}/lockfile.${_this}.off"
if [[ -f "${_lock}" ]]; then
exit 0
fi
I'm using a 'wait' instruction for the task so it keeps the current run and I can get some output/results out of it:
however, XBar instantiates a new execution whatsoever, obviously. Is there a way to skip an execution if the previous one hasnt finished yet? Or something like it?
The text was updated successfully, but these errors were encountered:
xbar 2.17 beta
MacOS 15.3 Sequoia
I have a .sh plugin running each minute, from times to time it needs to take an action that may take more than 1min. So executions are pilling on top of each other. I've added a lock file handling to it like:
I'm using a 'wait' instruction for the task so it keeps the current run and I can get some output/results out of it:
however, XBar instantiates a new execution whatsoever, obviously. Is there a way to skip an execution if the previous one hasnt finished yet? Or something like it?
The text was updated successfully, but these errors were encountered: