- Technical Support
- Graphics Support
If you are using a lot of Counter Slides (Count Up/Down Counter), or have Counter Slides (Count Up/Down Counter) running at a high frequency, you may wish to have a more aggressive clean up script running on your system.
This issue can also affect the Instagram, Slack Chat, Signera Chat, Web Snapshot, or other "auto-updating" Adaptive Module (Custom Slideshow Module) features.
On all of our Windows-based machines, we have a clean-up script that will delete all old un-used files every 30 days or so. In some very specific cases this script doesn't run frequently enough, and isn't aggressive enough, causing a customer's hard drive to fill up. This typically happens when a customer uses 3 or more Counter Slides with less than or equal to a "15 minute" update interval. This means that each Counter Slide instance is creating more than 100 images a day! With a clean up script that only runs every 30 days, the drive can fill up fast.
The proposed update is to keep the normal clean up script as is, and to add in a more aggressive clean up script to run upon Windows boot. Because we already have our systems reboot per a Client's defined schedule to install updates, and run other maintenance scripts; this seems like the most logical place to install this more aggressive script.
Create a "AutoDelete.bat" file using Notepad.
Inside this file put in (this will work for both 32-bit and 64-bit installations):
forfiles -p "C:\Program Files\Signera\content" -s -m "*Counter*.*" /D -1 /C "cmd /c del @path"
forfiles -p "C:\Program Files (x86)\Signera\content" -s -m "*Counter*.*" /D -1 /C "cmd /c del @path"
Please wait... it will take a second!