private void removeSection(String name) {
try{
String section = "job " + name;
String factoryIni = spooler.ini_path();
SOSProfileSettings p = new SOSProfileSettings(factoryIni, "emptySection");
Properties job = p.getSection();
writeSection(factoryIni, section, job);
} catch (Exception e){
try{
getLog().warn("Error occured removing job settings \""+name+"\": "+e);
} catch (Exception ex) {}