Cron Issue

cvanek

New member
Joined
Jul 18, 2011
Messages
1
Hi,

So I am trying to run this a script in cron

PHP:
	/usr/local/bin/php /home/user/domains/domain.com/public_html/etstats/vsp.php -l wet -p savestate 1 ftp://ip.is.he.re/ip.is.he.re-27960/etpub/newlogfile.log

When I run this in terminal it runs the script perfect.

I have also tested that cron is running succesfully as well as exim.

This is what is in the cron log each time the script executes:

PHP:
Jul 18 16:20:01 V-1743 crond[14246]: (ozsite) CMD (/usr/local/bin/php /home/user/domains/domain.com/public_html/etstats/vsp.php -l wet -p savestate 1 ftp://ip.is.he.re/ip.is.he.re-27960/etpub/newlogfile.log)

When it is run through Cron nothing happens though, I get no email and it certainly isn't calling the script it seems since the result is not occuring.

Regards, Chris
 
so pipe the output to the mail command or set MAILTO
 
Back
Top