*** # Cron Cron Class * Full name: `\CourierNotices\Controller\Cron` ## Methods ### register_actions Courier_Cron constructor. ```php public register_actions(): mixed ``` *** ### init Add our events for expiring notices ```php public init(): mixed ``` *** ### add_courier_cron_interval Add new schedules for the cron to run every 5 minutes ```php public add_courier_cron_interval(array $schedules): mixed ``` **Parameters:** | Parameter | Type | Description | |-----------|------|-------------| | `$schedules` | **array** | Cron Schedules | *** ### courier_purge Delete Courier notices that are older than 6 months. ```php public courier_purge(): mixed ``` *** ### courier_expire Expire notices if their expiration date has passed. ```php public courier_expire(): mixed ``` *** *** > Automatically generated on 2024-08-26