How do I change the directory to which Wusage writes its temporary files?
Wusage creates temporary files in the /tmp directory. In certain cases, these files can be of a substantial size. Specifically, setting the “dns” option to “on” produces substantial files in /tmp, and setting the “sortlogs” option to “on” requires enough space in /tmp to store all of your log files in an uncompressed form. If you would prefer to store these files in a different location, set the TEMP environment variable to your preferred location before launching Wusage. If you are launching wusage from cron (Unix) or AT (Windows NT), be sure to do this in the same shell script that you are launching with cron or AT. If you are launching wusage as a CGI program by placing it in cgi-bin and accessing its URL, you will need to place a shell script in that location instead. The shell script can then take care of setting TEMP before starting Wusage. Here is a simple Unix shell script to start Wusage with an alternate temporary file loctaion. OF COURSE, YOU MUST CHANGE THE FILE LOCATIONS B
Related Questions
- Downloaded files are stored first to a temporary directory and only after that, they are moved to the destination directory. How do I prevent storing files to a temporary directory?
- FTP Files are stored in temporary folder (structure): TEMPPSPadserverftp_pathfile (Is that under PSPad directory?)
- How do I change the directory to which Wusage writes its temporary files?