Documentation for a newer release is available. View Latest

Housekeeping - Scheduler

Housekeeping scheduler is a component whose purpose is to delete input files older than a configurable number of days based on the last modification time. The files are polled from a configurable location path.

Scenario:

When a file older than some days is found in the input directory, the file is deleted from the path.

Configuration Properties:

Config

Type

Default value

Comment

ipf.debulker.housekeeping.scheduler.cron

String

'0 0 12 * * ?'

A command for a job that is to be executed at a specified time.

ipf.debulker.housekeeping.scheduler.file-path

String

'src/main/resources'

Specific path where files are located.

ipf.debulker.housekeeping.scheduler.days-old

Integer

100

The number of days from the last modification time.

ipf.debulker.housekeeping.application-id

String

default-id

Property which identifies the housekeeping/Debulker application instance. If multiple Debulker applications share the same database, this can be used to associate housekeeping scheduler jobs to a specific application instance.

ipf.debulker.housekeeping.rehydrate-scheduler-jobs

Boolean

true

Property that determines whether the housekeeping module will send a command to rehydrate all persistent scheduler jobs. Depending on the other modules bundled with the debulker module, you may choose to disable this if you have another module in your application which you would like to be responsible for rehydrating persistent scheduler jobs.