I'm guessing the title is kinda missleading but I'll just ask, let me explain the situation first:
I'm making an auctions website, and I have a countdown that shows the time that an auction has left, when the time is over I use ajax to call a php page that runs a script that updates a row in a mysql table and sends an Email telling the auction is over, now this is working fine, but I want it to work always. It should always check if an auction is over not when the user enters the page, but I don't know how to make this possible, the countdown is in jquery and I don't know how to be always checking if an auction is over to send the email and update the row.
Thank you, if you can help me, I didn't paste any code because I don't think it's necessary but if you need some let me know.