Overview

Ephesoft temp folder clean up feature helps to free the disc space consumed by the temporary folders within the Shared Folder of the Ephesoft installation directory created over a period of time.

Configuration

Properties File Configuration

  • Firstly the following property needs to be uncommented from the applicationContext.xml of the application to initiate the service

<import resource=”classpath:/META-INF/applicationContext-tempfolder-cleanup.xml” />

  • Secondly the following properties have to be set for running the service. Changes are required to be made in the file dcma-tempfolder-cleanup.properties located at path {EphesoftInstallationDirectory}\ Application \WEB-INF\classes\META-INF\ dcma-tempfolder-cleanup
S. No. Property Description Sample
1 tmp_cleanup.deletablefolders A list of folders within Shared folders contents of which are to be deleted. Folder names are separated by semi colon. tmp_cleanup.deletablefolders=web-service-folder;scannedImages;upload-batch-folder;temp;
2 tmp_cleanup.cleanup_age Deletes the files from the specified folders older than the given hours. tmp_cleanup.cleanup_age=24
3 tmp_cleanup.cronjob_expression Cronjob expression to schedule the service. tmp_cleanup.cronjob_expression = 0 0 12 * * ?

(runs at 12 pm every day)

 

<Back| 4.0.0.0 Release Documentation

Was this article helpful to you?

Engineering

Comments are closed.