![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Java to tuxedo through cron | charu | Shell Programming and Scripting | 4 | 11-28-2008 02:19 AM |
| call constructor of java class in script | thebladerunner | Shell Programming and Scripting | 1 | 10-21-2008 04:23 PM |
| PHP or Java Class Code Generator 1.1.0 (Default branch) | iBot | Software Releases - RSS News | 0 | 02-08-2008 12:50 PM |
| How to call Java class from ksh | jyotib | Shell Programming and Scripting | 3 | 01-14-2008 02:40 PM |
| S-058: HP-UX Running Java JRE and JDK | iBot | Security Advisories (RSS) | 0 | 12-24-2007 09:40 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Running java class with a cron
Hello everybody,
I have a problem about running a java class with a cron : I have Cron.txt file which has : 0,5,10,15,20,25,30,35,40,45,50,55 * * * * CronJava.txt I have CronJava.txt wihich has : cd ias/j2ee/SapAktarim/applications/SapAktarim/SapAktarim/WEB-INF/classes/;java -classpath $CLASSPATH main.SapAktarim When cron works I get "help of java command" from my mail. if i do it manually, cd to path and type java -classpath $CLASSPATH main.SapAktarim it works without a problem. When I place it in a cron, I get this situation. Maybe cron can't see my user classpath info. When I try a sipmle class which only system.out.println("Hello") it works with the cron ...? I am new on Unix... Helps appreciated... Thanks a lot |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|