Forum archive 2000-2006

Mark Schmitt - Removing Temp Files

Mark Schmitt - Removing Temp Files

by Arnold Pizer -
Number of replies: 0
inactiveTopicRemoving Temp Files topic started 12/20/2003; 10:56:11 AM
last post 12/20/2003; 4:53:04 PM
userMark Schmitt - Removing Temp Files  blueArrow
12/20/2003; 10:56:11 AM (reads: 1243, responses: 1)
To free up some disk space, and in preparation of a full backup, I ran Remove Unnecessary Tmp Files on all my courses this morning.  I noticed that it did not do anything with all the png files generated with typeset2.

I tried adding a CleanUpDirectory call in profRemoveTmpFiles.pg, but that didn't seem to help.

Before I work on any more code, I thougth I'd check if anyone has already written code to remove those files.

Thanks in advance.


Mark

<| Post or View Comments |>


userArnold K. Pizer - Re: Removing Temp Files  blueArrow
12/20/2003; 4:53:04 PM (reads: 1413, responses: 0)

Hi Mark,

The png and l2h files are not considered "Unnecessary Tmp Files" and (as you discovered) are not removed by the Remove Unnecessary Tmp Files.  This is something you probably should run every few weeks along with "Compress database".

If you are cleaning up things to reuse a course, there are a things that should be removed.  See instructions for reusing a webwork co... 

Arnie

<| Post or View Comments |>