You are here

public function SchedulingStateInterface::setNextScheduledTime in Webform Scheduled Tasks 8.2

Set the next scheduled time a task should run.

Parameters

\Drupal\webform_scheduled_tasks\Entity\WebformScheduledTaskInterface $scheduledTask: The scheduled task.

int $timestamp: The timestmap.

1 method overrides SchedulingStateInterface::setNextScheduledTime()
SchedulingState::setNextScheduledTime in src/SchedulingState.php
Set the next scheduled time a task should run.

File

src/SchedulingStateInterface.php, line 42

Class

SchedulingStateInterface
An interface for managing the scheduling state of tasks.

Namespace

Drupal\webform_scheduled_tasks

Code

public function setNextScheduledTime(WebformScheduledTaskInterface $scheduledTask, $timestamp);