Menu

## ActionScheduler_CronSchedule
in package
implements ActionScheduler_Schedule

ActionScheduler_CronSchedule.php : 6

Class ActionScheduler_CronSchedule

### Interfaces, Classes and Traits

ActionScheduler_Schedule
  Class ActionScheduler_Schedule

### Table of Contents

$cron : CronExpression
$start : DateTime
$start_timestamp : mixed
__construct() : mixed
__sleep() : array<string|int, mixed>
  For PHP 5.2 compat, since DateTime objects can't be serialized
__wakeup() : mixed
get_recurrence() : string
is_recurring() : bool
next() : DateTime|null

### Properties

#### $cron

ActionScheduler_CronSchedule.php : 11
`private CronExpression $cron = NULL`

#### $start

ActionScheduler_CronSchedule.php : 8
`private DateTime $start = NULL`

#### $start_timestamp

ActionScheduler_CronSchedule.php : 9
`private mixed $start_timestamp = 0`

### Methods

#### __construct()

ActionScheduler_CronSchedule.php : 13
`public __construct(DateTime $start, CronExpression $cron) : mixed`

##### Parameters

$start : DateTime
$cron : CronExpression

##### Return values

mixed —

#### __sleep()

ActionScheduler_CronSchedule.php : 45

For PHP 5.2 compat, since DateTime objects can't be serialized

`public __sleep() : array<string|int, mixed>`

##### Return values

array<string|int, mixed> —

#### __wakeup()

ActionScheduler_CronSchedule.php : 53
`public __wakeup() : mixed`

##### Return values

mixed —

#### get_recurrence()

ActionScheduler_CronSchedule.php : 37
`public get_recurrence() : string`

##### Return values

string —

#### is_recurring()

ActionScheduler_CronSchedule.php : 30
`public is_recurring() : bool`

##### Return values

bool —

#### next()

ActionScheduler_CronSchedule.php : 22
`public next([DateTime $after = NULL ]) : DateTime|null`

##### Parameters

$after : DateTime = NULL

##### Return values

DateTime|null —

## Search results