|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
how to schedule java app in cron
Hi,
i want to schedule a java application in cron. I have scheduled a script in crontab , where i set the path, classpath and execute application...... java Test But i am getting an error , which says that the imported class files are not found. I have included the path of .jar (imported file ) in the classpath, still im getting this problem. Why is cron not able to locate those imported classes in .jar, when they are included in classpath. Can ne body please help me? Thanks, arshi. |
|
#2
|
||||
|
||||
|
The cron job doesn't have the same environment as your login. I have a feeling that you haven't set the CLASSPATH within the cron file. Please post your cron file here and we can verify that.
__________________
Up the Irons What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home. "Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest Down with Sharon Osbourne Puzzle of the Month solved by sizeablegrin, etienne141 and L7Sqr, superior C/C++ programmers of the month |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > how to schedule java app in cron |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|