Versions Compared

Key

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

...

  • The JITL RemoveFileJob job deletes one or more files. The job belongs to the category of JS7 - JITL File Operation Jobs.

  • The JITL File Operation Jobs support commonly used operations such as copy, rename, move, delete and check for the existence of files. Any file operations are implemented with Java and are available for any OS platforms supported by JS7 Agents. In comparison with operating system commands like copy, cp, move, mv, del and rm, that behave differently on different operating systems, the handling and behavior of File Operation Jobs is identical for all supported operating systems.

  • Most File Operation Jobs support "regular expressions" to allow filtering of matching file names.

  • File Operation Jobs are frequently used in workflows to check for the existence of files, to rename files and to copy/move files to different locations.

Usage

When defining the job considereither:

  • to invoke the Wizard that is available from the job properties tab in the Configuration view and to select the JITL RemoveFileJob and respective rerelevant arguments from the Wizard

or

  • to specify the JITL job class and com.sos.jitl.jobs.file.RemoveFileJob Java class name , then and add arguments as explained from in the documentation below documentation.

Example

Download: jdRemoveFile.json

A RemoveFileJob configuration can look like this:

Documentation

The Job Documentation including the full list of arguments can be found underhttps://www.sos-berlin.com/doc/JS7-JITL/RemoveFileJob.xml

...