A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Arduino in Action
this week in the
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
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:
- it saves me about five hours per week
subject: execute java programs in cron
Cron ta not working
Mail Alerts on birthdays
Calling a Java Program through CRONTAB
How to call a cron job from JAVA
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013