Register
Login
Contribute
Subscribe
RSS
News
FAQForge
ISPConfig
Subscribe
Contribute
Forums
Howtos
Navigation
Howtos
Linux
Android
CentOS
Debian
Fedora
Kernel
Mandriva
PCLinuxOS
SuSE
Ubuntu
Web Server
Apache
Cherokee
Lighttpd
nginx
Backup
Control Panels
ISPConfig
DNS
BIND
MyDNS
PowerDNS
djbdns
Desktop
Email
Anti-Spam/Virus
Postfix
FTP
High-Availability
Lighttpd
Monitoring
MySQL
Programming
C/C++
PHP
Samba
Security
Anti-Spam/Virus
Storage
Virtualization
KVM
OpenVZ
VMware
VirtualBox
Xen
Other
FreeBSD
Commercial
Mini-Howtos
Linux
Apache
Backup
DNS
Errors
FTP
MySQL
Networking
PHP
Postfix
Security
Sendmail
Shell
Other
ISPConfig
Forums
Contribute
Create Content
Subscription
Login
Site Map/RSS Feeds
Facebook
News
Ubuntu Linux Community: Canonical to Close Brainstorm Web Portal?
Mageia 3 Arrives: All Grown Up and Ready to Go Dancing
How to use the "tee" command
24 Peachy Free Linux Games (Part 2 of 4)
Canonical's Mir for Ubuntu Linux: New Open Source Innovations?
Wikiweapons and Printing 3D Guns. It's Just a Stalking Horse for What's to Come
Nick Carr's 'IT Doesn't Matter' still matters
m23 rock 13.1 released!
Migrate from MySQL to MariaDB in FreeBSD
The Beginner's Guide to Inkscape
more
Recent comments
Nice Guide Of Lamp
1 day 22 hours ago
THANKS Falko
2 days 7 hours ago
Tested on PfSense 2.0.3, VMWare ESXi5.1 and VMWare Player 5.0.1
2 days 10 hours ago
No guarantee?
2 days 11 hours ago
Problems with SSL logins on IMAP and POP
2 days 12 hours ago
Last step
2 days 14 hours ago
remove kvm to install vmplayer
2 days 15 hours ago
Re: Re: Re: Re: Apache Configuration
2 days 17 hours ago
playsms webpage wont send
3 days 8 hours ago
Re: master details in slave my.cnf not explicitly needed
3 days 9 hours ago
Newsletter
Subscribe to HowtoForge Newsletter
and stay informed about our latest HOWTOs and projects.
(To unsubscribe from our newsletter, visit this
link
.)
English
|
Deutsch
|
Site Map/RSS Feeds
|
Advertise
HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials
>
Linux Forums
>
Programming/Scripts
To execute java program using Cronjob
User Name
Remember Me?
Password
Register
FAQ
Members List
Social Groups
Calendar
Search
Today's Posts
Mark Forums Read
Do you like HowtoForge? Please consider supporting us by
becoming a subscriber
.
Thread Tools
Display Modes
#
1
18th November 2009, 13:44
nara_456
Junior Member
Join Date: Jul 2009
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
To execute java program using Cronjob
Hi All
I have developed smal JAVA program which having a insert record
statement into MYSQL, it is Working fine.
I need to execute this java program using cronjob.
Can, any body helpme out how to do it.
Thanks in Advance.
nara_456
View Public Profile
Send a private message to nara_456
Find all posts by nara_456
Sponsored Links
#
2
19th November 2009, 21:58
id10t
Senior Member
Join Date: Nov 2008
Posts: 233
Thanks: 2
Thanked 22 Times in 22 Posts
First, check the syntax for the crontab with "man crontab"
Then, write a small shell script that runs your java program, and call the shell script with cron.
__________________
I'm a very happy
linode.com
customer, I'm sure you will be too!
id10t
View Public Profile
Send a private message to id10t
Find all posts by id10t
#
3
20th November 2009, 04:45
nara_456
Junior Member
Join Date: Jul 2009
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Thank you, it works
nara_456
View Public Profile
Send a private message to nara_456
Find all posts by nara_456
Bookmarks
Digg
del.icio.us
StumbleUpon
Google
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
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 Rules
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
Linux Forums
HOWTO-Related Questions
Installation/Configuration
Server Operation
Desktop Operation
Kernel Questions
Programming/Scripts
Technical
Suggest HOWTO
ISPConfig 3
General
Installation/Configuration
ISPConfig 3 Priority Support
Plugins/Modules/Addons
Tips/Tricks/Mods
Feature Requests
Developers' Forum
ISPConfig 2
General
Installation/Configuration
Tips/Tricks/Mods
Feature Requests
Developers' Forum
MyDNSConfig
General
Other Forums
Smalltalk
Forum Suggestions
Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Parrallel Port program triggers on Shutdown??
Tezux
Programming/Scripts
0
14th July 2009
10:01
Java Printing Problems
anw
Installation/Configuration
2
16th April 2009
03:07
Monit on Debian
Hans
Tips/Tricks/Mods
2
6th October 2008
13:53
Monit & Munin
SamTzu
HOWTO-Related Questions
1
4th May 2008
18:03
PHP - Java Compile
ToysunStory
Installation/Configuration
9
4th January 2008
18:47
All times are GMT +2. The time now is
07:23
.
Contact Us
-
HowtoForge - Linux Howtos and Tutorials
-
Archive
-
Top
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Recent comments
1 day 22 hours ago
2 days 7 hours ago
2 days 10 hours ago
2 days 11 hours ago
2 days 12 hours ago
2 days 14 hours ago
2 days 15 hours ago
2 days 17 hours ago
3 days 8 hours ago
3 days 9 hours ago