{"id":4609,"date":"2015-03-12T14:45:41","date_gmt":"2015-03-12T14:45:41","guid":{"rendered":"https:\/\/ephesoft.com\/docs\/?p=4609"},"modified":"2022-03-01T14:38:25","modified_gmt":"2022-03-01T21:38:25","slug":"ephesoft-temporary-folders-auto-cleanup","status":"publish","type":"docs","link":"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/transact-property-file-reference-guide\/ephesoft-temporary-folders-auto-cleanup\/","title":{"rendered":"Transact Temporary Folder Automatic Cleanup"},"content":{"rendered":"

This page describes how to configure the automatic cleanup for Transact temporary folders. The Transact temporary folder cleanup feature helps to free the disc space that is consumed by the temporary folders created over time.<\/p>\n

Properties File Configuration<\/h2>\n
    \n
  1. Uncomment the following property from the applicationContext.xml<\/strong> to initiate the service.<\/li>\n<\/ol>\n
    <import resource=\"classpath:\/META-INF\/applicationContext-tempfolder-cleanup.xml\" \/><\/pre>\n
      \n
    1. Configure the following properties in the dcma-tempfolder-cleanup.properties<\/strong> file, located at [Ephesoft_Directory]<\/em>\\Application\\WEB-INF\\classes\\META-INF\\dcma-tempfolder-cleanup.<\/li>\n<\/ol>\n\n\n\n\n\n\n
      Property<\/strong><\/td>\nDescription<\/strong><\/td>\nExample <\/strong><\/td>\n<\/tr>\n
      tmp_cleanup.deletablefolders<\/td>\nThe list of folders within SharedFolders that should be deleted. Separate multiple folder names using a semicolon (;).<\/td>\ntmp_cleanup.deletablefolders=web-service-folder;scannedImages;upload-batch-folder;temp;<\/td>\n<\/tr>\n
      tmp_cleanup.cleanup_age<\/td>\nSpecifies in hours how old a file must be before it will be deleted.<\/td>\ntmp_cleanup.cleanup_age=24
      \nThis means that files will be deleted 24 hours after their creation.<\/td>\n<\/tr>\n
      tmp_cleanup.cronjob_expression<\/td>\nThis property uses a cron expression to determine when the cleanup job should run.<\/td>\ntmp_cleanup.cronjob_expression = 0 0 12 * * ?
      \nThis means the cleanup job will run every day at 12 PM.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

      Note:<\/strong> The above properties only apply to temp directories contained in SharedFolders.<\/p>\n

      Directories Outside of SharedFolders<\/h2>\n

      There Ephesoft\\temp<\/strong> and Ephesoft\\JavaAppServer\\temp<\/strong> directories must be cleaned manually.\u00a0 Follow the steps below\u00a0to clean them:<\/p>\n

        \n
      1. Stop Ephesoft Transact.<\/li>\n
      2. Delete all the files in the directories.<\/li>\n
      3. Start Ephesoft Transact.<\/li>\n<\/ol>\n","protected":false},"featured_media":0,"parent":15612,"menu_order":2,"comment_status":"closed","ping_status":"open","template":"","doc_tag":[],"yoast_head":"\nTransact Temporary Folder Automatic Cleanup | Ephesoft Docs<\/title>\n<meta name=\"robots\" content=\"noindex, follow\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Transact Temporary Folder Automatic Cleanup\" \/>\n<meta property=\"og:description\" content=\"This page describes how to configure the automatic cleanup for Transact temporary folders. The Transact temporary folder cleanup feature helps […]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/transact-property-file-reference-guide\/ephesoft-temporary-folders-auto-cleanup\/\" \/>\n<meta property=\"og:site_name\" content=\"Ephesoft Docs\" \/>\n<meta property=\"article:modified_time\" content=\"2022-03-01T21:38:25+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/transact-property-file-reference-guide\/ephesoft-temporary-folders-auto-cleanup\/\",\"url\":\"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/transact-property-file-reference-guide\/ephesoft-temporary-folders-auto-cleanup\/\",\"name\":\"Transact Temporary Folder Automatic Cleanup | Ephesoft Docs\",\"isPartOf\":{\"@id\":\"https:\/\/ephesoft.com\/docs\/#website\"},\"datePublished\":\"2015-03-12T14:45:41+00:00\",\"dateModified\":\"2022-03-01T21:38:25+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/transact-property-file-reference-guide\/ephesoft-temporary-folders-auto-cleanup\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/transact-property-file-reference-guide\/ephesoft-temporary-folders-auto-cleanup\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/transact-property-file-reference-guide\/ephesoft-temporary-folders-auto-cleanup\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/ephesoft.com\/docs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Transact\",\"item\":\"https:\/\/ephesoft.com\/docs\/products\/transact\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"System Configuration\",\"item\":\"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Ephesoft Transact Property Files Reference Guide\",\"item\":\"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/transact-property-file-reference-guide\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Transact Temporary Folder Automatic Cleanup\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/ephesoft.com\/docs\/#website\",\"url\":\"https:\/\/ephesoft.com\/docs\/\",\"name\":\"Ephesoft Docs\",\"description\":\"Intelligent Document Processing Made Easy\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/ephesoft.com\/docs\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Transact Temporary Folder Automatic Cleanup | Ephesoft Docs","robots":{"index":"noindex","follow":"follow"},"og_locale":"en_US","og_type":"article","og_title":"Transact Temporary Folder Automatic Cleanup","og_description":"This page describes how to configure the automatic cleanup for Transact temporary folders. The Transact temporary folder cleanup feature helps […]","og_url":"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/transact-property-file-reference-guide\/ephesoft-temporary-folders-auto-cleanup\/","og_site_name":"Ephesoft Docs","article_modified_time":"2022-03-01T21:38:25+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/transact-property-file-reference-guide\/ephesoft-temporary-folders-auto-cleanup\/","url":"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/transact-property-file-reference-guide\/ephesoft-temporary-folders-auto-cleanup\/","name":"Transact Temporary Folder Automatic Cleanup | Ephesoft Docs","isPartOf":{"@id":"https:\/\/ephesoft.com\/docs\/#website"},"datePublished":"2015-03-12T14:45:41+00:00","dateModified":"2022-03-01T21:38:25+00:00","breadcrumb":{"@id":"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/transact-property-file-reference-guide\/ephesoft-temporary-folders-auto-cleanup\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/transact-property-file-reference-guide\/ephesoft-temporary-folders-auto-cleanup\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/transact-property-file-reference-guide\/ephesoft-temporary-folders-auto-cleanup\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ephesoft.com\/docs\/"},{"@type":"ListItem","position":2,"name":"Transact","item":"https:\/\/ephesoft.com\/docs\/products\/transact\/"},{"@type":"ListItem","position":3,"name":"System Configuration","item":"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/"},{"@type":"ListItem","position":4,"name":"Ephesoft Transact Property Files Reference Guide","item":"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/transact-property-file-reference-guide\/"},{"@type":"ListItem","position":5,"name":"Transact Temporary Folder Automatic Cleanup"}]},{"@type":"WebSite","@id":"https:\/\/ephesoft.com\/docs\/#website","url":"https:\/\/ephesoft.com\/docs\/","name":"Ephesoft Docs","description":"Intelligent Document Processing Made Easy","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ephesoft.com\/docs\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"}]}},"comment_count":0,"_links":{"self":[{"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/docs\/4609"}],"collection":[{"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/comments?post=4609"}],"version-history":[{"count":7,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/docs\/4609\/revisions"}],"predecessor-version":[{"id":50472,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/docs\/4609\/revisions\/50472"}],"up":[{"embeddable":true,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/docs\/15612"}],"next":[{"title":"Pickup Service","link":"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/transact-property-file-reference-guide\/pickup-settings-4-x\/","href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/docs\/6514"}],"wp:attachment":[{"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/media?parent=4609"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/doc_tag?post=4609"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}