Versions Compared

Key

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

...

Checks for the existence of a file, a directory or for specific files inside of a directory.

Job Example:

Code Block

  <job order='yes' >
     <params>
     </params>
     <script language="java" java_class="sos.scheduler.file.JobSchedulerExistsFile" />
  </job>
 

Parameter used by JobSchedulerExistsFile

...

On 2050-12-31 the parameter file contains the value "sample/hello20501231.txt" .
Supports substitution of job parameter names with their value if the job parameter name is enclosed by %  and  % .
Example: <param namh1. "file" value"%scheduler_file_path%" />
During the job runtime the parameter file contains the value of the job parameter scheduler_file_path . UsingDirectory Using Directory Monitoring with File Ordersthe Orders the job parameter scheduler_file_path contains automatically the path of the file that triggered the order.

...

The default value for this parameter is -1.

Parameter: skip_first_files number of files to remove from the beginning of the

...

result-set

...

number of files to remove from the beginning of the result-setThe number of files are removed from the beginning of the set resulting by min_file_size, min_file_age etc. These files are excluded from further operations.

...