CheckFilesInDirectoryCron

Group

Time-driven Custom Classes

Class Name

com.ebd.hub.datawizard.util.CheckFilesInDirectoryCron

Function

This class is able to count the number of files in a directory.

Configuration File

None. The directory path has to be set in Configuration file.

Description

The class CheckFilesInDirectory counts the number of files in a directory, defined by the path set in the field Configuration file. The output is one line consisting of the directory path and followed by the number of files in that directory, separated by a semicolon.

Example

Example of an output of the class CheckInFilesDirectoryCron:

./temp/Testdaten/CronAPI/;10