Job Scheduler

The parameters of sos.scheduler.job.JobSchedulerCleanupFiles are not presetted how in the documentation described

Details

  • Type: Bug Bug
  • Status: Approved Approved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.3.12.1327
  • Component/s: Standard Jobs
  • Description:

    The parameters are empty if they are not set but according to the documentation they should have the values
    file_path="java.io.temp"
    file_specification="^sos.*"
    file_age="24:00"

Activity

Hide
Klaus-Dieter Büttner added a comment - 22 November 2011 14:51

try {
if (isEmpty(filePath)) { filePath = "java.io.temp"; // JS-788 }
String[] filePaths = filePath.split(";");
if (isEmpty(fileSpec)) { fileSpec = "^(sos.*)"; }
if (lngFileAge <= 0) { lngFileAge = calculateFileAge(getParamValue(conParameterFILE_AGE, "24:00")); }

Show
Klaus-Dieter Büttner added a comment - 22 November 2011 14:51 try { if (isEmpty(filePath)) { filePath = "java.io.temp"; // JS-788 } String[] filePaths = filePath.split(";"); if (isEmpty(fileSpec)) { fileSpec = "^(sos.*)"; } if (lngFileAge <= 0) { lngFileAge = calculateFileAge(getParamValue(conParameterFILE_AGE, "24:00")); }

People

Dates

  • Created:
    10 November 2011 17:29
    Updated:
    22 November 2011 14:53
    Resolved:
    22 November 2011 14:51