andys/oncein — pull request #1 by bisscuitt (2013-04-03 01:25:12+00:00)
Title: Update oncein.sh

Make sure that we check the age of the lockfile before the call to flock.

Otherwise we sleep the first time the command is ran.

Added a `which` lookup so shorthand can be used for $cmd