where('status', Status::Active) ->where('trigger_type', TriggerType::Schedule->value) ->chunkById(50, function ($automations) use ($fire) { foreach ($automations as $automation) { $fire($automation); } }); return self::SUCCESS; } }