flocks and cronjobs

Posted on May 2, 2024

flock command can be useful when writing cronjobs when we want to ensure that only one copy of the script is running on the system for the time