A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
execute java programs in cron
Joined: Aug 20, 2010
Oct 15, 2010 05:46:13
When I'm trying configure a
program in cron, it says java command not found.
How to get JAVA_HOME environment variable in cron?
Joined: Jan 30, 2006
Oct 15, 2010 06:22:13
Sounds lik a *NIX issue, but why not just write a short script which sets the env variables you need and execute the java proggi from it, then just have CRON execute your script?
I agree. Here's the link:
subject: execute java programs in cron
How to call a cron job from JAVA
Mail Alerts on birthdays
Calling a Java Program through CRONTAB
Cron ta not working
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015