Thread: Crontab Issue
hi, trying run simple script via crontab fails exit status #1 according syslog file. however, when run crontab root, fails exit status #127.
here crontab entry (user level, not root):(yes, there line @ bottom)code:0 5 * * * /home/george/world_mapper/render.sh
, here render.sh script pointing to:as can see, have set java environment variables in script, still fails execute.code:#!/bin/bash path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" java_home="/usr/lib/jvm/java-6-openjdk/jre/bin/java" mandatory_path="/usr/share/gconf/gnome.mandatory.path" logname="george" shell="/bin/bash" # end of configuration display=:0.0 java -jar /home/george/world_mapper/tectonicus_v2.02.jar config=config.xml
script runs fine terminal leads me believe crontab environment problem. however, java environment seems setup correctly , stumped.
here java version information if helps:any @ appreciated.code:java version "1.6.0_20" openjdk runtime environment (icedtea6 1.9.8) (6b20-1.9.8-0ubuntu1~10.10.1) openjdk 64-bit server vm (build 19.0-b09, mixed mode)
edit: sorry, wrong info.
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [SOLVED] Crontab Issue
Ubuntu
Comments
Post a Comment