public function JobSchedulerCronTabInterface::nextTime in Job Scheduler 8.2
Same name and namespace in other branches
- 8.3 src/JobSchedulerCronTabInterface.php \Drupal\job_scheduler\JobSchedulerCronTabInterface::nextTime()
Finds the next occurrence within the next year as unix timestamp.
Parameters
int $start_time: (optional) Starting time. Defaults to null.
int $limit: (optional) The time limit in days. Defaults to 366.
Return value
int|false The next occurrence as a unix timestamp, or false if there was an error.
1 method overrides JobSchedulerCronTabInterface::nextTime()
- JobSchedulerCronTab::nextTime in src/
JobSchedulerCronTab.php - Finds the next occurrence within the next year as unix timestamp.
File
- src/
JobSchedulerCronTabInterface.php, line 45
Class
- JobSchedulerCronTabInterface
- Provides an interface for JobSchedulerCronTab.
Namespace
Drupal\job_schedulerCode
public function nextTime($start_time = NULL, $limit = 366);