- Getting Started
- Basic Configuration
- Creating Multiple Sites On Your Local Computer
- Error Pages
- Accessing Your Test Site(s)
- Adding Modules and Themes
- Creating Content
- Custom Blocks
- Working with the Menu
- The Contact Form
- URL Aliases
- Moving Entire Drupal Site with Databases
- Moving Stuff to Your Web Site
- Setting Up Cron
- Additional Tips and Tricks
- Categories (Taxonomy)
- Common Problems
- Links and IMG
- Keeping Your Local and Remote Sites Synchronized
- More Reading
- Glossary
Setting Up Cron
I could not get a decent answer from the DrupalDrupal
An open-source content management system that is used on this site and is taking over the world. siteA logically grouped set of content - also web site. on setting up the Cron jobs that it keeps complaining about. Nor would my hosting support people help ("That's a user problem...").
My hosting provider does not allow me to have Shell access (probably a wise move). But they do provide the more-or-less-standard cPanel function. On my version, the "Cron" entry is in the lower left.
I also had WebCalendar installed on one of my sites. When I went to cPanel, I noticed that WebCalendar had a command already set up. Modifying it a bit, this is what I came up with to put in:
cd '/home/username/public_html/' ; php -q 'cron.php';
Note that username is my host's user ID for domain management and my DrupalDrupal
An open-source content management system that is used on this site and is taking over the world. installation is in my "root" folder (actually "public_htmlHyperText Markup Language - the coding standard for a web page.").
This worked for getting Cron run, but did generate some error messages.
I was happy that Cron ran, but a bit concerned about those messages. So I did some searching on the DrupalDrupal
An open-source content management system that is used on this site and is taking over the world. siteA logically grouped set of content - also web site. and came up with several posts of the same messages, but no solutions. So I posted again. This time someone saw it through.
They suggested using WGET, but I don't have shell access. But I did, for some reason, check the "Advanced" mode on cPanel again. I noticed that there was now a helpful hint there (of course in a small font). It said to use GET http://nanwich.info/cron.php (obviously, use your own URL). I did and the error messages went away and Cron is working great!
For Cron jobs another possibility is http://drupal.org/project/poormanscron
For every page view, this moduleAn add-on, or extension, to Drupal to provide additional functionality; written in PHP. checks to see if the last Cron run was more than 1 hour ago (this period is configurable). If so, the Cron hooks are executed, and Drupal
Drupal
An open-source content management system that is used on this site and is taking over the world. is happy. These Cron hooks fire after all HTMLHyperText Markup Language - the coding standard for a web page. is returned to the browser, so the user who kicks off the Cron jobs should not notice any delay.



Recent comments
1 week 4 days ago
6 weeks 3 days ago
6 weeks 3 days ago
7 weeks 2 days ago
7 weeks 3 days ago
8 weeks 4 days ago
8 weeks 5 days ago
9 weeks 1 day ago
9 weeks 3 days ago
9 weeks 3 days ago