public function JobSchedulerCronTab::__construct in Job Scheduler 7.2
Constructor.
About crontab strings, see all about possible formats http://linux.die.net/man/5/crontab.
Parameters
string $crontab: Crontab text line: minute hour day-of-month month day-of-week.
File
- ./
JobSchedulerCronTab.inc, line 44 - JobSchedulerCronTab class.
Class
- JobSchedulerCronTab
- Jose's cron tab parser = Better try only simple crontab strings.
Code
public function __construct($crontab) {
$this->crontab = $crontab;
$this->cron = is_array($crontab) ? $this
->values($crontab) : $this
->parse($crontab);
}