TaskOptions taskOpt = TaskOptions.Builder.withUrl("/automatedupdate");
taskOpt.param("mensa", id);
taskOpt.method(Method.GET);
taskOpt.taskName(name);
queue.add(taskOpt);
TaskName taskName = new TaskName();
taskName.setIdentifier(id);
taskName.setTaskName(name);
taskNameDAO.saveTaskName(taskName);
logger.info("Task added: "+id);
respBuilder.append("Task added: "+id+"<br>");
}