drupflare/worker - v1.0.4
    Preparing search index...

    Function cronHooksFor

    • The hooks to schedule, and whether the cache still describes this site.

      KNOWN_CRON_HOOKS is only the shipped install's list, so a customer module's hook_cron needs discovery. The cache is keyed on the enabled-module set, not the generation (which moves on every content save and would re-boot the kernel each time).

      Parameters

      Returns { hooks: string[]; stale: boolean }