Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 8th February 2008, 09:14
shoaibahmedbaig shoaibahmedbaig is offline
Junior Member
 
Join Date: Dec 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default how to run jar file using cron?

hi guys ,

i want to run jar file using crontab -e
here is the following :

my jar file is in my home directory which is :

/home/shoaib/my.jar

I m using IBMJava2-142-ia32-SDK-1.4.2-8.0.i386.rpm which is installed in

/opt/IBMJava2-142

now i want to schedule my jar file to run every monday at morning .

here is my cron entry :

30 11 * * * /opt/IBMJava2-142/bin/java -jar /home/shoaib/my.jar

could u please tell me wats wrong with that command and my back-end database sever is IBM DB2 9.0.

this command is run normally but when i schedule it through cron it didn't run, waiting for your response .

Regards,

Shoaib
Reply With Quote
Sponsored Links
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Chroot SSH + ISPConfig Norman Installation/Configuration 27 26th March 2007 04:40
spamassasin/clamAV not working Daisy Installation/Configuration 32 15th February 2007 01:09
Howto suggestion suse PhP ver 4 + Ver 5 wwparrish Suggest HOWTO 11 7th August 2006 14:29
ISPConfig faiture glt50 Installation/Configuration 16 6th July 2006 02:58
Mysterious Install Problem tgansert Installation/Configuration 5 9th May 2006 16:35


All times are GMT +2. The time now is 20:23.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.