Command for Piping Email to PHP Script Anonymous 4 years ago updated 4 years ago Answered I have tried all sorts of command entries for piping email to my php script but it does not appear to be calling it. The script and the folder have the necessary permissions for execution and I have tried the following commands with no success. What am I doing wrong?!#/usr/bin/php -q /home/readya9/cad-smtp/process-email.php/home/readya9/cad-smtp/process-email.php#!/usr/local/bin/php -q /home/readya9/cad-smtp/process-email.phpObviously the path are not accurate for the PHP CLI but I cannot find anywhere online what this path should be on my shared in-motion server.