Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
<job name = "cleanup_sos_files" title = "Remove temporary files">
  <params>
    <!-- remove temporary files from the given directory otherwise
    from the users temp directory  -->
    <param name = "file_path" value = "/tmp"/>
    <!-- remove temporary files with the given prefix -->
    <param name = "file_specification" value = "^(sos.*)"/>
  </params>
  <script language = "java"
          java_class = "sos.scheduler.job.JobSchedulerCleanupFiles"/>
  <!-- cleanup files in the given interval of seconds (4 hours) -->
  <run_time let_run = "yes"
            begin   = "06:00"
            end     = "22:00"
            repeat  = "04:00:00"/>
</job>

<job name = "cleanup_tmp_files" title = "Remove temporary files"/>
  <params/>
    <param name = "file_path" value = "/tmp"/>
    <param name = "file_specification" value = "^(tmp.*)"/>
  </params/>
  <script language = "java"
          java_class = "sos.scheduler.job.JobSchedulerCleanupFiles"/>
  <!-- cleanup files in the given interval of seconds (24 hours)-->
  <run_time let_run= "yes"
            begin   = "00:00"
            end     = "24:00"
            repeat  = "24:00:00"/>
</job>

...

See also: