Lets say I use a cron to trigger a script to run, and this script runs a long time, and then another

Lets say I use a cron to trigger a script to run, and this script runs a long time, and then another cron triggers the same script, how can I prevent the same script from running at the same time?
Was this page helpful?