Welcome to WebmasterWorld Guest from 220.127.116.11
Forum Moderators: bakedjake
setting a cron job to load the url using wget, or some other command line tool, every 10 - 15 minutes
The url being like: [mysite.com...] .
So what should I put in cron to have this loaded avery 15 minutes, and how can I check that it does its job correctly?
Thanks in advance,
*/15 * * * * /command
And to prevent output completely, your cron should look like:
*/15 * * * * /path/to/command >/dev/null 2>&1
You won't get notifications of failures, though. If you want those, use nalin's redirect method.
That remote script you're running, you're not actually executing PHP on it, correct? You're just getting some HTML or XML back from the page on the remote server? If that's the case, then using wget should be fine as well, since you're not actually executing the PHP binary on your hosts' systems.