Skip to main content
Question

Is It safe to delete files from Document Temporary Path?


Forum|alt.badge.img+3

I want to delete older files, PDFs mostly, from the folder/directory in the “Document Temporary Path” which is found in the last screen of the reconfiguration option of the installer.cmd. I just want to confirm that it would be safe. The directory is growing tremendously in size. 

 

3 replies

Mathias Dahl
Superhero (Employee)
Forum|alt.badge.img+32
  • Superhero (Employee)
  • 2895 replies
  • August 22, 2023

If the file is older than a few hours, or days if you want to be on the safe side, yes.

And! Assuming you are not using the same folder as a repository folder 🙃

 


Amila Samarasinghe
Superhero (Partner)
Forum|alt.badge.img+14

BTW you do not have to delete files in DOCUMENT_TICKET_TEMP_PATH manually. You can schedule a database task with method "delete_old_tickets" in the "batch_transfer_handler_api" and provide the parameter SCHEDULED_HOURS [SCHEDULED_HOURS is a parameter to distinguish the tickets to be deleted. So all the tickets older than the scheduled hours will get deleted]


Forum|alt.badge.img+3
  • Author
  • Do Gooder (Partner)
  • 5 replies
  • August 22, 2023

@Amila Samarasinghe I created the task and scheduled it. I’ve also ran it manually several times with different values, las one being 720 (1 month x 24hs), but nothing is being deleted. All still there in the DEV environment. Any thoughts? Do you see a mistake?

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings