title: php send mail using cron jobs
body: <p>I have two file 'mail.php' and 'cron.php' . 'mail.php' receives email address from a source continuously . 'cron.php' will send email to those address at the next hour of receiving hour .If email address is received at 5.45 email will be sent at 6.00 .
  My idea is to run cron.php every hour which will get email addresses and their receiving time form session variable.
  But how can I synchronise this two file ?? Is it possible to access session variable simultaneously by this two file ?? that means mail.php will write data and after sending mail cron.php will delete those data from session.</p>
  
  <p>Thanks in advance.</p>