I am coding a custom mass email program for a client in php. I wrote a simple test cron job and got it working.
General cron question: what happens if a cron job is executed while a previous cron job is being executed?
This mass emailer so far has 2500 recipients. I was thinking of spacing them out by 1/4 second each as to try to avoid being labeled as spam by yahoo/gmail/msn etc. That works out to about 11 minutes execution time.
The design is simple. When the client makes an email to send out to a preexisting list, it copies that list into a separate table in mysql. The cron job checks this table for entries and if anything is in there, it will send the email and then delete that entry from the table. So lets say I set the cron job to execute every 10 minutes. If it takes 11 minutes to send out the list, what will happen since the previous cron job is still executing?
Any guidance appreciate...Im a cron n00b LOL. Thanks, Steve