You are here:  » Cron Reports

Support Forum



Cron Reports

Submitted by chrisst1 on Fri, 2012-02-10 15:25 in

Hi David

A late Happy New Year

I'm using cron.php set up on our server as a cron job, it works fine but in our cron reports we get the following message at the end (I removed passwords):

HTTP request sent, awaiting response... 200 OK
Length: 0 [text/plain]
cron.php?password=......: Permission denied

Cannot write to `cron.php?password=......' (Permission denied).

I assume it's to do with the print parts of the script, is it any thing to worry about?

Chris

Submitted by support on Fri, 2012-02-10 15:44

Hi Chris,

Thanks for that - you are correct it's just the output from WGET being unable to write - it's not a problem as CRON ordinarily either writes to a temporary buffer or nowhere at all but to silence this, in your CRON job (the command entered in the CRON section of your hosting control panel) follow the wget command with -O /dev/null e.g.

/usr/bin/wget -O /dev/null http://...

Cheers,
David.
--
PriceTapestry.com

Submitted by chrisst1 on Fri, 2012-02-10 16:17

Thanks David

Did that, now get the following which I assume is OK

HTTP request sent, awaiting response... 200 OK
Length: 0 [text/plain]
Saving to: `/dev/null'

0K 0.00 =0s

2012-02-10 16:05:56 (0.00 B/s) - `/dev/null' saved [0/0]

Chris

Submitted by support on Fri, 2012-02-10 16:20

Looks good, Chris!

Cheers,
David.
--
PriceTapestry.com