Simpler locking for crons