opt2.setStringParser(PeriodStringParser.getParser());
opt2.setHelp("Duration of the execution. If not given, the execution never stop. This argument should be given on the ISO-8601 duration format: PWdTXhYmZs where W, X, Y, Z respectively represents number of Days, Hours, Minutes and Seconds. T is mandatory before the number of hours and P is always mandatory.");
jsap.registerParameter(opt2);
opt2.setStringParser(PeriodStringParser.getParser());
opt2.setHelp("Duration between summary emails. If not given, the emails will never be sent. This argument should be given on the ISO-8601 duration format: PWdTXhYmZs where W, X, Y, Z respectively represents number of Days, Hours, Minutes and Seconds. T is mandatory before the number of hours and P is always mandatory.");
jsap.registerParameter(opt2);