Can anyone help me in writing a CRON job that requires to be running 24/7 to send out mail alerts. Can you also help me with best practicies that will help me write this job better. Also how do I ensure that the PHP script does not time out before all my records in the CRON are processed? (I know that I can use the ignore_user_abort(true); and use set_time_limit(30) inside a while loop for processing individual records... but is this the correct method)
The basic idea behind the script is that the site pulls data from a source via HTTP connection in every 15 minutes and matches the data against a list of customers that wish to receive an alert via mail for the data received.... I am expecting the customer base to reach around 3000 by the end of this year.... And the second script reads the mail content from the database any sends emails.
The website is currently on Windows Platform, soon to be shifted to Linux (Linux is the best)
Any suggestions
iBizConsultants