now dropping a pid file (based on database) to prevent jobs from stomping on each other