flocks and cronjobs
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
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