When you say: "call it from the browser" ... is it actually meant to
be run under the control of apache? If so, why don't you point a
command-line browser like lynx, links or even curl or wget to it
from your cron-job?
13 17 * * * /usr/bin/lynx http://localhost/pathtomy/cron.php