def METHOD_NAME():
    today = timezone.now()
    addons = Addon.objects.annotate(hourmod=F("component_id") % 24).filter(
        hourmod=today.hour, event__event=EVENT_DAILY
    )
    for addon in addons.prefetch_related("component"):
        with transaction.atomic():
            addon.component.log_debug("running daily add-on: %s", addon.name)
            try:
                addon.addon.daily(addon.component)
            except DjangoDatabaseError:
                raise
            except Exception:
                handle_addon_error(addon, addon.component)