try this
Quote:
*/5 * * * * (cd /usr/share/../../../; php ./file.php) > /dev/null 2>&1
|
This is a no email 5 min cron
sometimes you have to cd then use the cli
always end you cron with a new line
You need a MTA and Email server to send an email out.
see cd /var/logs
to troubleshoot cron
Code:
root~:$ cat /var/logs/syslog|less