How to ignore jobs already running in cron
Posted on 2015-01-30
Hi , Is there a way i can ignore the run of a scheduled cron job if the jobs is already running on the host.
I am asking this because I have a cron entry to run a job every minute. Sometimes the script completes within a minute, some time goes more than a minute. When it runs more that a minute the next scheduled run tries to execute the script and this results in an cron error.