opendj-server-legacy/src/main/java/org/opends/server/tools/tasks/TaskClient.java
@@ -176,9 +176,8 @@ if (scheduleRecurring) { taskID = information.getTaskId(); if ((taskID == null) || taskID.length() == 0) { taskID = information.getTaskClass().getSimpleName() + "-" + UUID.randomUUID().toString(); if (taskID == null || taskID.length() == 0) { taskID = information.getTaskClass().getSimpleName() + "-" + UUID.randomUUID(); } } else { // Use a formatted time/date for the ID so that is remotely useful