date = getdate(strtotime("-" . SCRAPE_DELAY . " days")); $application_parser->run(); } if ($action == "mail"){ //Launch the mailer $mailer = new mailer(); $mailer->run(); } ?>