[GRASS5] Cleaning of temp files
Michel Wurtz
mw at teledetection.fr
Thu Apr 18 10:50:11 EDT 2002
Markus Neteler wrote:
>
> Does anyone have a suggestion if we can install something
> like a cronjob or whatever, which deletes temp files of
> a certain age?
That can be done, but is only a workaround : maybe the real
question is "why does Grass spread temp files all around ?"
Any command that terminates should erase the various temp files
created.
Even when things are going bad, there are many ways to prevent
the file to be left (the most used is to delete the file just
after its creation : it will only disapears once closed, and
that is automaticaly done by the system when the command
terminates).
If only temp files from scripts (history, display lists, ...)
remain, they would not be too big and the clean_temp function
is enough...
--
Michel WURTZ - DIG - Maison de la télédétection
500, rue J.F. Breton
34093 MONTPELLIER Cedex 5
More information about the grass-dev
mailing list