Note: this use case is available since flom version 0.1.0
The first use case is very simple: you don't want some commands or some scripts submitted by a user can run at the same time. The typical usage is related to crontab and the chance some command runs late due to an undesired condition.
tiian@mojan:/usr$ flom -- ls bin games include lib lib64 local sbin share src tiian@mojan:/usr$
tiian@mojan:~$ flom -- sleep 10 tiian@mojan:~$
command "sleep 10" and command "ls" synchronized: "ls" executed after "sleep 10" completion.
flom command protects (synchronizes) the execution of the command (or script) specified after the -- separator on the command line.
The simplest usage form of command flom allows you to synchronize commands/scripts on a per user basis (synchronization does not happen between commands/scripts executed by different users).