
     @mins = (0..59);
     @hours = (0..23);
     @days = (1..31);
     @months = map { $text{"month_$_"}."=".$_ } (1 .. 12);
     @weekdays = map { $text{"day_$_"}."=".$_ } (0 .. 6);
     
     foreach $arr ("mins", "hours", "days", "months", "weekdays") {
	     # Find out which ones are being used
	     local %inuse;
	     $min = ($arr =~ /days|months/ ? 1 : 0);
	     $max = $min+scalar(@$arr)-1;
	     foreach $w (split(/,/ , $job->{$arr})) {
		     if ($w eq "*") {
			     # all values
			     for($j=$min; $j<=$max; $j++) { $inuse{$j}++; }
			     }
		     elsif ($w =~ /^\*\/(\d+)$/) {
			     # only every Nth
			     for($j=$min; $j<=$max; $j+=$1) { $inuse{$j}++; }
			     }
		     elsif ($w =~ /^(\d+)-(\d+)\/(\d+)$/) {
			     # only every Nth of some range
			     for($j=$1; $j<=$2; $j+=$3) { $inuse{int($j)}++; }
			     }
		     elsif ($w =~ /^(\d+)-(\d+)$/) {
			     # all of some range
			     for($j=$1; $j<=$2; $j++) { $inuse{int($j)}++; }
			     }
		     else {
			     # One value
			     $inuse{int($w)}++;
			     }
		     }
	     if ($job->{$arr} eq "*") { undef(%inuse); }
     
