# boolean_smtp_health_check

> Fires on the health-check interval; each run probes every active connection.

Action · Tier B · Since 1.0.0

Scheduled on `init` when not yet scheduled, at the interval the `health_check_interval` setting defines (the `boolean_smtp_health` WP-Cron schedule). The per-connection outcome is announced through `boolean_smtp_health_check_result`.

## Signature

```php
add_action( 'boolean_smtp_health_check', $callback, 10, 0 );
```

## Parameters

No parameters.

## Fires in

- [app/Jobs/HealthCheckJob.php:0](https://github.com/booleanpress/boolean-smtp-src/blob/main/app/Jobs/HealthCheckJob.php) — `BooleanSmtp\Jobs\HealthCheckJob::()`

## Example

```php
add_action( 'boolean_smtp_health_check', function () {
    // React to the event.
}, 10, 1 );
```
