Hi, Did you provide full paths? E.g. "~/my.tif" would not work for cronjobs, you would have to use "/home/user/my.tif" instead.
Not sure if also the path to the command to execute has to be complete (e.g. /bin/grass70 ...)... Cheers Stefan -----Original Message----- From: grass-user-boun...@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 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 crontab. It stop to execute when try to do: grass70 -text -c /path-to-geotiff/file.tif -e /grassdata/mapset_location Is the grass suitable for a cronjob ? Thx, -- ----------------- Andrea Peri . . . . . . . . . qwerty àèìòù ----------------- _______________________________________________ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user _______________________________________________ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user