How to run CRON jobs using CURL on lunarpages webhost
I have wrestled for a long while with a problem that has plagued many people. Just witness the number of postings with problems about how to run CRON on this or that web host system. Does the system allow wget or lynx? Does it support running PHP from the cron tab in cpanel? You have to run cron from a browser, need to use 'curl' and what does that mean?
So, at least if you are hosted by www.lunarpages.com (LP), here is the definitive answer including how to run cron for multi-site installations. LP does NOT support either wget or lynx and running PHP on the cron command line will not properly invoke the cron.php.
The ' > /dev/null 2>&1' part suppresses sending you an email for each execution.
gil
0 comments :