ParentFull threadpermalac·Flock can be used in a single line for example for cronjobs.Flock -s file && script.Pretty simple. (I forgot the argument, I think is -s..View on HN