sorry the emaiil start before end the message
I would thx for your help you and the other grass guys.
A.
2015-08-26 18:03 GMT+02:00 Nick Jachowski njachow...@gmail.com:
I've had this problem from cron before and a solution I've found is to print
all the environment variables using the linux
I found the solution with the printenv.
My script was for bash-shell, but the crontab instead start a sh-shell.
Thx for help you and other grass guys.
A.
2015-08-26 22:09 GMT+02:00 Andrea Peri aperi2...@gmail.com:
sorry the emaiil start before end the message
I would thx for your help you
On Wed, Aug 26, 2015 at 4:12 PM, Andrea Peri aperi2...@gmail.com wrote:
My script was for bash-shell, but the crontab instead start a sh-shell.
Script should have a shebang and this should solve the interpreter problem
for you, i.e. you can use any interpreter available as long as you specify
Hi,
thx for help Vaclav
I was trying to run a shell script with a start of a grass and many
grass command inside it.
Not only a grass call.
As reported few minutes ago,
I resolve my issue .
Printing the environment variables (using the printenv utility)
I see that the crontab start a sh-shell,
I've seen your email about wrong shell but anyway:
On Wed, Aug 26, 2015 at 10:47 AM, Andrea Peri aperi2...@gmail.com wrote:
I have some relative path, but my first
line in bash is a
cd /home/--path-to-grass-position
to set the script in the right position in filesystem.
What you
I've had this problem from cron before and a solution I've found is to
print all the environment variables using the linux command printenv.
Run printenv from your console and from the cron then compare the output
and see what's different.
Then when you find the critical differences set those
Hi,
I'm try to run a grass session from a cronjob
The cron execut a bash script where I try to execute
grass70 -text -c /path-to-geotiff/file.tif -e /grassdata/mapset_location
If I try the bash script from a console it run good and without any problem.
Bu if I try to execute the script from a
...@lists.osgeo.org
[mailto:grass-user-boun...@lists.osgeo.org] On Behalf Of Andrea Peri
Sent: 26. august 2015 16:27
To: GRASS user list grass-user@lists.osgeo.org
Subject: [GRASS-user] Run grass console from a cronjob
Hi,
I'm try to run a grass session from a cronjob The cron execut a bash script
Subject: [GRASS-user] Run grass console from a cronjob
Hi,
I'm try to run a grass session from a cronjob The cron execut a bash script
where I try to execute
grass70 -text -c /path-to-geotiff/file.tif -e /grassdata/mapset_location
If I try the bash script from a console it run good
On 2015-08-26 16:27, Andrea Peri wrote:
Hi,
I'm try to run a grass session from a cronjob
The cron execut a bash script where I try to execute
Do you know GRASS_BATCH_JOBs? They run fine, AFAICT. Hermann
https://grasswiki.osgeo.org/wiki/GRASS_and_Shell#GRASS_Batch_jobs
10 matches
Mail list logo