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
If a command crashes, my gut feeling is that it will stay locked forever.
it would be nice to have an 'unlock' command to allow removing the locks.
Even better: to have a cronjob that automatically removes locks that are older than X days/hours
The text was updated successfully, but these errors were encountered:
Isn't it the operating system that releases the lock (acquired by the flock function) automatically when the file is closed or the script crashes ? @gggeek Could you describe a use case where the lock was not properly released on script crash ?
If a command crashes, my gut feeling is that it will stay locked forever.
it would be nice to have an 'unlock' command to allow removing the locks.
Even better: to have a cronjob that automatically removes locks that are older than X days/hours
The text was updated successfully, but these errors were encountered: