I have a web site hosted with a cPanel web host.
I am looking to have a PHP script to run every time I get a new email to help@xxx.com. The script that I was hoping run will update some vars on a sql data base.
I know how to accomplish all the tasks with PHP, the only part I am trying to figure out is how to tell my web server to run the script when a new email is received.
currently running a cron job and would prefer to not run the script every min and only when relevant.