[GRASS-dev] File based GRASS batch processing?

Stephan Holl stephan.holl at intevation.de
Mon Jan 22 11:22:09 EST 2007


Hello Markus,

Markus Neteler <neteler at itc.it> wrote at Mon, 22 Jan 2007 17:09:16
+0100:

> Hi,
> 
> I often have to process large data sets on remote
> machines which takes more than a day. Since I
> cannot keep the ssh connection open for so long,
> it would be very convenient to have the possibility
> to pass a file (containing GRASS commands) as
> parameter to the startup script, say something like:
> 
> nohup grass63 -text -batch myjobs.sh ~/grassdata/spearfish60/neteler/
> & ^^^^^^^^^^^^^^^^
> 
> I assume that this would require changes in lib/init/init.*
> (maybe for now only lib/init/init.sh).
> 
> Before wasting time on this, any suggestions for a best
> implementation? Maybe I am overlooking an easy solution.

Have you tried using screen[1] for this purpose? this can pick up remote
sessions.

I *assume* you could do this using screen as well?!
Check the manpage for details.

Best

	Stephan

[1] http://www.debian-administration.org/articles/34

-- 
Stephan Holl: www.intevation.de/~stephan| GISpatcher: www.gispatcher.de
Intevation GmbH: www.intevation.de      | GAV e.V.: www.grass-verein.de
Georgstr.4: 49074 Osnabrück             | Telefon:   +49(0)541. 3350832
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20070122/bd374ee8/signature.bin


More information about the grass-dev mailing list