[drupal-docs] cron jobs in the install text

Morbus Iff morbus at disobey.com
Tue Mar 15 18:48:40 UTC 2005


> Two years (and one day ago today), I thought about this as well [1]. Up to this point the only message I ever found in the logs is "last cron not completed"  (or so) which is almost useless. We should focus on more usefull error messages here, for example "The site listed in the aggregator (http://example.com/rss) was unreachable"

Well, that's still a bit of a problem. How can you write a warning to the 
log that cron ISN'T running, when the only time that warning would be 
legitimately written is if cron WAS running? (ie. how can you time a 
warning message that a timed process isn't timed?)

The only thing I can think of is contextual only
clues. For instance, regarding the search module:

  * search.module checks for an index, or the outdatedness of one.
  * on the next search (the untimed trigger), the search.module spits
    a watchdog that the index hasn't been updated in XX days. On a
    heavy site with lots and lots of searches, this would surely
    spam the watchdog (which may be a good thing, actually).

But that doesn't solve any of the other timed examples that don't have an 
easily determined trigger.

-- 
Morbus Iff ( you are nothing without your robot car, NOTHING! )
Culture: http://www.disobey.com/ and http://www.gamegrene.com/
Spidering Hacks: http://amazon.com/exec/obidos/ASIN/0596005776/disobeycom
icq: 2927491 / aim: akaMorbus / yahoo: morbus_iff / jabber.org: morbus



More information about the drupal-docs mailing list