Y
Hacker News
new
|
ask
|
show
|
jobs
by
permalac
331 days ago
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..