The order of execution of the hook_cron command for Drupal

Does anyone know in what order Drupal executes its _cron hooks? This is important for the particular custom module I am developing, and I cannot find any documentation for it on the Internet. Maybe I was looking for the wrong thing!

Any help? Jeff

+5
source share
3 answers

Drupal executes all its hooks in an order based on the weight of the module. The default weight of the module is 0, and the secondary ordering is by module name:

http://api.drupal.org/api/function/module_list/6

+9
source

cron Supercron. ( ):

SuperCron - Cron Drupal. :

  • . Cron, .
  • , cron hooks
  • , , cron ,
  • , .
  • ( )
  • cron, , .
  • , cron ( )
  • ,
  • Cron, ( Throttle)
  • IP-, cron-.
+2

The execution of the hooks is determined by the weight of the module that implements them; the weight module will be executed for the latter.

0
source

All Articles