code: private ScheduleTaskImpl readInTask(Element el) throws PageException {
  	long timeout = su.toLong(el, "timeout");
  	if (timeout > 0 && timeout < 1000) timeout *= 1000;
  	if (timeout < 0) timeout = 600000;
  	try {
  	    ScheduleTaskImpl st = new ScheduleTaskImpl(this, su.toString(el, "name").trim(), su.toResource(config, el, "file"), su.toDate(config, el, "startDate"),
  		    su.toTime(config, el, "startTime"), su.toDate(config, el, "endDate"), su.toTime(config, el, "endTime"), su.toString(el, "url"), su.toInt(el, "port", -1),
  		    su.toString(el, "interval"), timeout, su.toCredentials(el, "username", "password"),
  		    ProxyDataImpl.getInstance(su.toString(el, "proxyHost"), su.toInt(el, "proxyPort", 80), su.toString(el, "proxyUser"), su.toString(el, "proxyPassword")),
  		    su.toBoolean(el, "resolveUrl"), su.toBoolean(el, "publish"), su.toBoolean(el, "hidden", false), su.toBoolean(el, "readonly", false),
  		    su.toBoolean(el, "paused", false), su.toBoolean(el, "autoDelete", false));
  	    return st;
  	}
  	catch (Exception e) {
  	    SystemOut.printDate(e);
  	    throw Caster.toPageException(e);
  	}
      }
docs: read in a single task element
  
  @param el
  @return matching task to Element
  @throws PageException