PHP Cron Job Problems

Hi all,

I am trying to set up a cron job to run every night. At the moment the line looks like this:

  • 0 * * * /dh/cgi-system/php.cgi /home/username/

When this executes I get an email saying:

“No input file specified.”

I have tried running the command on its own from the command line and it works fine. I have also tried this using /usr/local/bin/php instead but get the same outcome (works fine from command line but says “No input file specified” when run from cron).

Any ideas?