[GRASSLIST:1461] Initialising Grass Script From cron
Izak Thomas Henry Deyzel
izak at metsys.weathersa.co.za
Thu Feb 15 08:56:26 EST 2001
Good Day Everyone,
I am using Grass4.2.1. I am trying to automise my whole process of data
manipulation and map production. I am using a bash script to do the
grass stuff, but need to intialise this script from a cron. Grass and
its dbase is running the whole time, but the cron runs in its own
environment oblivious of Grass dbase. I test for the db being active and
receive errors. Is there a method of exporting Grass' environmental
variables so that my cron environment will be aware of the dbase or is
there a method of intialising Grass and its dbase within the cron
script:
e.g. grass4.2 <<-script
.....grass stuff....
exit
script
Thank you.
Izak
^^^^^^^^^^^^^^^^
Izak T.H. Deyzel
Meteorologist
METSYS
South Africa
More information about the grass-user
mailing list