public static function JobSchedulerCronTab::possibleValues in Job Scheduler 7.2
Get values for each type.
1 call to JobSchedulerCronTab::possibleValues()
- JobSchedulerCronTab::parseElement in ./
JobSchedulerCronTab.inc - Parse each text element. Recursive up to some point...
File
- ./
JobSchedulerCronTab.inc, line 262 - JobSchedulerCronTab class.
Class
- JobSchedulerCronTab
- Jose's cron tab parser = Better try only simple crontab strings.
Code
public static function possibleValues($type) {
switch ($type) {
case 'minutes':
return range(0, 59);
case 'hours':
return range(0, 23);
case 'mday':
return range(1, 31);
case 'mon':
return range(1, 12);
case 'wday':
// These are PHP values, not *nix ones.
return range(0, 6);
}
}