* Dave Howorth <[EMAIL PROTECTED]> [06-04-07 06:46]: > 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=<location/you/desire> google *is* your friend -- Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 OpenSUSE Linux http://en.opensuse.org/ Registered Linux User #207535 @ http://counter.li.org -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
