# imagify/2.3.3/inc/Dependencies/ActionScheduler/classes/schedules/ActionScheduler_Schedule.php

Imagify Image Optimization: Optimize Images | Compress &amp; Convert to WebP/AVIF, version 2.3.3. 23 lines.

- Page: https://pluginprobe.com/plugins/imagify/2.3.3/code/inc/Dependencies/ActionScheduler/classes/schedules/ActionScheduler_Schedule.php
- Raw: https://pluginprobe.com/plugins/imagify/2.3.3/raw/inc/Dependencies/ActionScheduler/classes/schedules/ActionScheduler_Schedule.php
- Modified: 2025-05-28T15:57:10+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/imagify/2.3.3/code/inc/Dependencies/ActionScheduler/classes/schedules/ActionScheduler_Schedule.php#L10-L20`.

```php
<?php

/**
 * Class ActionScheduler_Schedule
 */
interface ActionScheduler_Schedule {
	/**
	 * Get the date & time this schedule was created to run, or calculate when it should be run
	 * after a given date & time.
	 *
	 * @param null|DateTime $after Timestamp.
	 * @return DateTime|null
	 */
	public function next( ?DateTime $after = null );

	/**
	 * Identify the schedule as (not) recurring.
	 *
	 * @return bool
	 */
	public function is_recurring();
}

```
