Cron run ?!? I can't get it to crawl!

Cron is one of the most important aspects of having a drupal site. And it can be a pain to figure out, configure, and be sure it's running. I have tried several different processes, and here is the one I like right now...

I am on a vps, but should work for shared as well.
I am running x3 cPanel
I am able to run cron successfully with:

php /home/INSERT+DIR+NAME+HERE/public_html/cron.php



tags: 

Comments

3

Using CURL instead of cron ensures that it is run on a particular "site" from the sites folder. So if you have subdomains that is somewhat necessary, and in general seems like a good practice since it has all the Apache environment variables. cron http://example.com/cron.php cron http://sub1.example.com/cron.php

I entered your blog from google search. You really have done a good effort. Thanks for the wonderful blog. regards

Thanks for sharing your method. As for me, I find Drupal books very helpful. At this pdf SE you may find some of Drupal books: <a href=http://www.pdfok.com/drupal-cron > http://www.pdfok.com/drupal-cron </a> . I hope it will help you too.