Posted by raindrop on November 7, 2009 at 12:12pm
I read up on CRON but don't really understand what it means in relation to Drupal, eg drupal keeps saying it hasn't run so I run it and it stops asking.
I've noticed some people have a bit of trouble with it, I haven't myself but have no idea what it's meant to do and reading up on it says what it is but not what it does, eg do I have to program a script or something or is drupal calling the shots.
If the latter is true then marvelous it is but I really don't know so if anyone can offer any information here it would be most appreciated.
Thank you
Comments
Start here
http://en.wikipedia.org/wiki/Cron
Then read
http://drupal.org/cron
Drupal expects that an external program such as the Unix cron facility will run a process on a reasonable schedule. The frequency is up to you.
At the appointed time, cron should run lynx, wget, curl, or some other program that is capable of fetching a specific URL of the form http://example.com/cron.php.
The Drupal cron.php script tells Drupal that it's time to execute any jobs that are awaiting Drupal's internal hook_cron function.
As the Drupal documentation says: Every Drupal install requires regular actions to handle maintenance tasks such as cleaning up log files and checking for updates. Cron.php is the file that Drupal uses to run the maintenance process.
Many thanks for that. Another
Many thanks for that.
Another question if I may..
Currently I don't have updates enabled since I didn't want to make a mistake and it write over files I'd changed but if I choose to enable the said function is it on an inform-only basis.
What I'm asking is in another thread someone gave me a link to the CVS site which is rather remarkable in and of itself and then I was told about a facility called CVS Checkout.
Notwithstanding that last idea, can the update mechanism tell you anything at all about which files might have been updated?
What I'm hoping is that some of the information on the cvs site can make it's way to me automatically so I can decide if it's ok to just write over specific files. The nature of Drupal being modular as it is makes me inclined to want to only update certain files and their dependencies (if any) instead of whole packages, so is this at all possible?