title: how do i implement a notification system after new inserts in my db?
body: <p>I am working on a web application in php. 
  I have a local job listing website. I am working on a scraper in simple html dom that scrapes all the active job listings on the website.</p>
  
  <p>The job listings have a "posted on" date and a "closing" date ( on reaching closing date, the listing is removed from the website).</p>
  
  <p>i have managed to successfully scrape all the active listings on the website and save them in a simple mysql database. The current active job listing is 325 jobs. I have all of them on my DB.</p>
  
  <p>The next thing i have done , is set up cron, so as the scraper runs every hours.</p>
  
  <p>what i basically want is, how should i procede with the Insert in the mysql DB, currently, every times the scraper runs, it deletes all listings and inserts all listings again including a new one.</p>
  
  <p>Eventually i need to set something like a notification system, as soon as a new job is posted - an email notification will be sent to an email address.</p>
  
  <p>what is the best way to procede?I am out of ideas currently..</p>