Skip to main content

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):
code:
0 5 * * * /home/george/world_mapper/render.sh
(yes, there line @ bottom)

, here render.sh script pointing to:
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
as can see, have set java environment variables in script, still fails execute.

script runs fine terminal leads me believe crontab environment problem. however, java environment seems setup correctly , stumped.

here java version information if helps:
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)
any @ appreciated.

edit: sorry, wrong info.


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [SOLVED] Crontab Issue


Ubuntu

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support