* Dave Howorth
I'm trying to run a Java program from a cron job and have discovered that JAVA_HOME and friends aren't set. What's the best way to set them for cron jobs?
I'm presently on 9.3 but will be moving to 10.2 shortly.
see: http://www.unixgeeks.org/security/newbie/unix/cron-1.html
crontab -e
at the top you will probably see: MAILTO=root or MAILTO=<username>
add: JAVA_HOME=