-
Notifications
You must be signed in to change notification settings - Fork 0
Cron
linchpin edited this page Feb 22, 2023
·
10 revisions
Cron Class
- Full name:
\CourierNotices\Controller\Cron
Courier_Cron constructor.
public register_actions(): mixed
Add our events for expiring notices
public init(): mixed
Add new schedules for the cron to run every 5 minutes
public add_courier_cron_interval(array $schedules): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$schedules |
array | Cron Schedules |
Delete Courier notices that are older than 6 months.
public courier_purge(): mixed
Expire notices if their expiration date has passed.
public courier_expire(): mixed
Automatically generated from source code comments on 2023-02-22 using phpDocumentor and saggre/phpdocumentor-markdown