[GRASS-user] GRASS BATCH JOBS

Dear All,

I am trying to run a grass script in batch mode.
I was wondering if grass should be closed automatically after the run of
the command or if I would need to use a certain command to close GRASS
(unset GRASS_BATCH_JOB).

What does happens for the ".gislock" file ?
Is this file generated if I launch grass in Batch mode ?
Is this file deleted only if the command "unset GRASS_BATCH_JOB" has been
executed ?

Many thanks in advance,

Jessica

_________________________________________

Jessica Gervais
Tel: +352- 425991-628
Mail: jessica.gervais@tudor.lu

Resource Centre for Environmental Technologies,
Public Research Centre Henri Tudor,
Technoport Schlassgoart,
66 rue de Luxembourg,
P.O. BOX 144,
L-4002 Esch-sur-Alzette, Luxembourg

jessica.gervais@tudor.lu wrote:

I am trying to run a grass script in batch mode.
I was wondering if grass should be closed automatically after the run of
the command or if I would need to use a certain command to close GRASS
(unset GRASS_BATCH_JOB).

GRASS will quit automatically.

What does happens for the ".gislock" file ?
Is this file generated if I launch grass in Batch mode ?

Yes.

Is this file deleted only if the command "unset GRASS_BATCH_JOB" has been
executed ?

No.

If GRASS_BATCH_JOB is set, it is run instead of a shell. Other than
that, the session startup and shutdown behave as for an interactive
session.

--
Glynn Clements <glynn@gclements.plus.com>