Print Jobs folder didn't clean up?
Hi, I'm using Geocortex 3.11 (yes quite behind), and I have enabled Print Jobs for one of my layer. Everything works fine except I noticed the job folders created for each job under \Geocortex Essentials\Default\REST Elements\Print Jobs\ seems not deleted even after a long period, say 3 months. I'm wondering if there's a way in Geocortex I can configure to automatically clean up the folder after a certain period of time as it's chewing up a lot space on hard drive. Thank you.
Jack
-
Jack, I would accomplish this "Delete" task nightly using a scheduled task running a series of commands. There are many examples, but found this in particular from http://stackoverflow.com/questions/51054/batch-file-to-delete-files-older-than-n-days
forfiles -p "C:\what\ever" -s -m *.* /D -<number of days> /C "cmd /c del @path"Thanks,
Shawn.
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
1 Kommentar