in reply to Checking for multiple instances

Depending on your specific requirements, use one of CPAN is a wonderful thing, yes? There are also a number of pid server daemons that can track these types of things well, and Perl modules to talk to them. Or, you can solve the problem in your cron script with the insanely simple:
#!/bin/bash if (ps ax |grep -q "my_perl_script_name") ; then exit; fi my_perl_script_name
require General::Disclaimer;

All code, unless otherwise noted, is untested

"All it will give you though, are headaches after headaches as it misinterprets your instructions in the most innovative yet useless ways." - Maypole and I - Tales from the Frontier of a Relationship (by Corion)