LAUNCHING GRASS FROM A SCRIPT?

Randy Hills rhills at rainbow.nohrsc.nws.gov
Fri Jan 26 07:00:00 EST 1996



We have launched Grass programs and scripts from cron with good results.  
Two things to watch for:  one, Grass lock files (make sure they're set 
and removed by the script) and two, leftover temporary files in the .tmp 
directory under your mapset.  The Grass script GIS.sh executes clean_temp 
which cleans these files up, but you don't want to remove these files 
while your script is running, but you might want it someplace in your 
script after its done doing Grass stuff.

-------------------------------------------------------------------------
Randy Hills                              Office of Hydrology - NOHRSC 
rhills at nohrsc.nws.gov                    National Weather Service, NOAA
voice: (612)361-6610(ext.231)            1735 Lake Drive West
fax:   (612)361-6634                     Chanhassen, Minnesota 55317-8582
http://www.nohrsc.nws.gov
-------------------------------------------------------------------------






More information about the grass-user mailing list