I have a PHP file (xmlgen.php) in a folder that I’m trying to execute using a cron job.
My cron job looks like this:
cd /home/stlgk/stlgatekeepers/feeds; php xmlgen.php
The emails I’m getting say “sh: php: command not found”
What am I doing wrong? This command works when I SSH in.
Thanks in advance for all your help!