Customer is using Web Snapshot and Hard Drive is filling up. How to fix?


If you are using a lot of Web Snapshots, or have Web Snapshots 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 Count Up/Down Counter, Slack Chat, Signera Chat, Instagram, 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 Web Snapshots with less than or equal to a "15 minute" update interval. This means that each Web Snapshot 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 "*WebSnapshot*.*" /D -2 /C "cmd /c del @path"
forfiles -p "C:\Program Files (x86)\Signera\content" -s -m "*WebSnapshot*.*" /D -2 /C "cmd /c del @path"

This script will silently delete all Web Snapshot related files older than 2 days.

If you are using this script to delete Slack change the above "*WebSnapshot*.*" to "*Slack*.*", etc.

Note: If you have a Web Snapshot that has an "Update Frequency" of "Never" you will want to change this to at least once a day.

Execute the script once to make sure it successfully runs.

To install, simply add the BAT file to the "Startup" folder.

Note: You may also wish to reduce the size of your "Recycle Bin" too. To do this, right click on "Recycle Bin" and click "Properties". Click on "Custom Size" and change to 300 MB or so. Make sure "Display delete confiormation dialog" is un-checked. Click "OK".

Thats it!

If you need any other help or have questions, please contact Signera Support

Sincerenly,
Signera Support
support@signera.net
301-714-0110 x1

Attachments:
Help Topics
  • Technical Support
  • Graphics Support

Please Wait!

Please wait... it will take a second!