Problem:
Once a user post values to a php script; the script writes to a table then it compares posted values with user preferences for a notification (example: A user wants to be sent an email automatically and instantly when ever someone post an 'ad' in his state) If they match it send that user an email.
This takes time before sending a reply , so the user on the client side has to wait for his browser to recieve a reply while the emails are being sent.
My idea for a solution:
Send a call to a shell script or something that will cause a chron tab to process the mailings with a php script. This way the receiving script will be processed without waiting for the emails to be sent.
Any suggestions on how to do this, links on chrontab setup etc..
thanks...