public function WebformScheduledTaskInterface::setNextTaskRunDate in Webform Scheduled Tasks 8.2
Set the date and time the next task is scheduled to be run.
NOTE: setting this value will take effect immediately and does not require an entity save.
Parameters
int $timestamp: The timestamp for when the task will next be attempted to run.
Return value
$this
1 method overrides WebformScheduledTaskInterface::setNextTaskRunDate()
- WebformScheduledTask::setNextTaskRunDate in src/
Entity/ WebformScheduledTask.php - Set the date and time the next task is scheduled to be run.
File
- src/
Entity/ WebformScheduledTaskInterface.php, line 82
Class
- WebformScheduledTaskInterface
- An interface for the scheduled tasks.
Namespace
Drupal\webform_scheduled_tasks\EntityCode
public function setNextTaskRunDate($timestamp);