This page is no more maintained, the current one is at http://www.tiian.org/flom/FLoM_by_examples/Use_Case_1.html
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).
Wiki: FLoM by examples
Wiki: Use Case 2
Wiki: Use Case 3
Wiki: Use Case 4