\jb\commonCron

Class Cron

Summary

Methods
Properties
Constants
__construct()
add_minute()
unschedule_tasks()
maybe_schedule_tasks()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct() : mixed

Cron constructor.

Returns

mixed

add_minute()

add_minute(array  $schedules) : array

Parameters

array $schedules

Returns

array

unschedule_tasks()

unschedule_tasks() : mixed

Clear scheduled tasks

Returns

mixed

maybe_schedule_tasks()

maybe_schedule_tasks() : mixed

Maybe create scheduled events

Returns

mixed