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
HOT Raspberry Pi DIY Mini Desktop PC Build Project
Government accused of sneaking in web filter
Hackers From China Resume Attacks on U.S. Targets
Tails 0.18 Screenshot Tour
Firefox 23 set to boost open source dev tools
Geek got Chic
Linux gamers trying to convince Blizzard, EA and Co.
Steganography In Ubuntu, Hide Your Files Inside An Image
Dell Kills OpenStack Public Cloud Initiative
Atom-based Samsung Galaxy Tab 3 10.1 rumors abound
more
Recent comments
Re: PHP now has mail logging built-in
1 hour 54 min ago
Success!
11 hours 22 min ago
Installation successful, but I can't receive any mail...
12 hours 11 min ago
Security
15 hours 44 min ago
I skimmed through the steps,
20 hours 8 min ago
Thanks
20 hours 30 min ago
Monit problem
22 hours 40 min ago
Merci
1 day 8 hours ago
I found that php_flag
1 day 13 hours ago
Great stuff!
1 day 15 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
11:06
.
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 hour 54 min ago
11 hours 22 min ago
12 hours 11 min ago
15 hours 44 min ago
20 hours 8 min ago
20 hours 30 min ago
22 hours 40 min ago
1 day 8 hours ago
1 day 13 hours ago
1 day 15 hours ago