Long Island Drupal Group Message Board › Cron????
Just installed Drupal 7 on my ubuntu server. I don't want to continue any further until I understand this whole cron thing....
Can anyone give me some information on what this is, what I need to do with it, and why it's so important please.
New York, NY
I actually thought I posted a response to this a while ago... I must have not submitted... :)
In any event, as you may know cron is a way to run scheduled tasks. Within the context of Drupal, modules have the ability to implement a special hook function called hook_cron(). Within this function we can implement any house cleaning tasks we may want to perform. Such as delete temporary records or files, retrieve external data, etc, etc. Every time cron is run on our site this function will run.
In Drupal 7 you can schedule your cron runs on the '/admin/config/system/cron' page. How often you should run cron can change depending on your sites needs but it is generally good practice to run it occasionally. For low traffic sites you can run it once a day.
Hope that helps!