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
Review: Korora 18 "Flo" KDE
Open Source & Big Data: DataStax Expands Hadoop, Cassandra in Europe
Pidora: Fedora Linux for the Raspberry Pi ARMs Up (Thanks to Seneca)
24 Peachy Free Linux Games (Part 3 of 4)
Poll: Firefox Does Not Need Fewer Options
High-res batch convert EMZ / WMZ grahpics to PNG a.k.a. "liberating your graphics"
Debian Project, Community, Mourns Loss of Ray Dassen
Introducing the BeagleBone Black’s Linux 3.8 kernel
Samsung, carriers tout first Tizen mobes for late 2013
Build your own supercomputer out of Raspberry Pi boards
more
Recent comments
Re: Installation successful, but I can't receive any mail...
15 hours 12 min ago
ssl
15 hours 18 min ago
No Mails could be send.... Connection refused
20 hours 16 min ago
array param function
1 day 2 hours ago
Thank you so much. 2 thumbs
1 day 3 hours ago
Great post... But...
1 day 5 hours ago
Instead of copying and
1 day 9 hours ago
 Correction: fro m_address=`
1 day 15 hours ago
tuto thanks
1 day 19 hours ago
WFM
1 day 21 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
Switch to Linear Mode
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
15:05
.
Contact Us
-
HowtoForge - Linux Howtos and Tutorials
-
Archive
-
Top
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Recent comments
15 hours 12 min ago
15 hours 18 min ago
20 hours 16 min ago
1 day 2 hours ago
1 day 3 hours ago
1 day 5 hours ago
1 day 9 hours ago
1 day 15 hours ago
1 day 19 hours ago
1 day 21 hours ago