in reply to Race condition in my cron daemon

is use Proc::PID_File for my cronjobs. No problems with that until now.

why do you need this PID checking with a database?

UPDATE: Should have read your code better...Ignore this post