Housekeeping - Scheduler
El scheduler de housekeeping es un componente cuyo propósito es eliminar archivos de entrada más antiguos que un número configurable de días en función de la hora de última modificación. Los archivos se sondean desde una ruta de ubicación configurable.
Escenario:
Cuando se encuentra un archivo más antiguo que algunos días en el directorio de entrada, el archivo se elimina de la ruta.
Propiedades de configuración:
Config |
Type |
Default value |
Comment |
|
String |
'0 0 12 * * ?' |
A command for a job that is to be executed at a specified time. |
|
String |
'src/main/resources' |
Specific path where files are located. |
|
Integer |
100 |
The number of days from the last modification time. |
|
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. |
|
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. |