May
24th
Sat
24th
Ensuring only one instance of a script is running
Damn easy and concise!
DATA.flock(File::LOCK_EX)
#
