http://www.perlmonks.org?node_id=949011


in reply to [Solved]Easiest way to protect process from duplication.

Check out Re^3: Cron Jobs That Run For Too Long .