Is This Content Helpful?
We're glad to know this article was helpful.
When an ArcMap service is created, a copy of the .mxd/.pmf file used in the creation of the service is stored in a temporary folder on the machine where ArcMap Server is installed. On Windows, this is located at <ArcIMS Install Location>/Server/tmp, and on Solaris/Linux this directory is located at $AIMSHOME/tmp.
These .mxd/.pmf files are not used once the service has been created and can be deleted. This document explains the procedure to setup the ArcIMS (9.x) Tasker for cleanup of these .mxd/.pmf files.
<CLEANUP dir="Location of tmp" exts="mxd,pmf" interval="1440" />
Note: At ArcIMS 9.1, this line may already exist on Windows machines but with the incorrect path to the cleanup directory. Modify the path to read the value of dir as shown below. Please note the correct cleanup folder name is "tmp" and not "temp"
<CLEANUP dir="Location of tmp in machine 1" exts="mxd,pmf" interval="1440" /> <CLEANUP dir="Location of tmp in machine 2" exts="mxd,pmf" interval="1440" />On Windows use a UNC path (for example - \\machine1\Server\tmp) to the location of tmp folder.