Cron Jobs errors

Unknown

New member
Joined
Feb 12, 2006
Messages
1
Hi,

I just installed DA with PHP5, MySQL5 and Ap2. All seems to work great, runned serval php5 optimized or only scripts and all runs smooth.

Just the Cron Jobs i dont understand why it returns a error: /bin/sh: php: command not found when the script try to execute the following COMMAND: cd /home/mydomain/domains/subdomain.mydomain.com/public_html/system ; php servermonitor.php 15 100 0 >> /var/log/gcp-monitor

When i execute the same command in a shell console, it gives me some errors. But it does find the php binary. Can someone help me out?

Thanks in advance.
 
Last edited:
You may need to specify the absolute path to the php binary. For example, /usr/local/bin/php

which php should get you the location.
 
Back
Top