wp cron event schedule <hook> <next-run> <recurrence>

Schedules a new cron event

Arguments

NameDescription
hookThe hook name
next-runA Unix timestamp or an English textual datetime description compatible with strtotime(). Defaults to now
recurrenceHow often the event should recur. See wp cron schedule list for available schedule names. Defaults to no recurrence

Options

NameDescription
--field=valueArguments to pass to the hook for the event. <field> should be a numeric key, not a string