Generally speaking, it's best if you can write a script that is aware of itself -- that is, the process writes it's own Process ID (PID) to a file, and all future iterations of the code looks for that file, reads it's contents, then checks for a running process ID with that number. If it can't find a running process with that ID, it overwrites the PID, and starts. If it DOES find another live process with that ID, it just exits quietly.
That's a quick and dirty way to prevent the type of runaway process you sometimes get with cron.
-JD.