473,660 Members | 2,468 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Run java class in cron

10 New Member
Hi,
I want to run java class in cron.
how can I do this...?

reply me ASSP
Nov 14 '07 #1
3 2948
sicarie
4,677 Recognized Expert Moderator Specialist
Hi,
I want to run java class in cron.
how can I do this...?

reply me ASSP
Not sure what ASSP is, but I'd recommend running it like you'd run any java program from the command line. (man java?)
Nov 14 '07 #2
heat84
118 New Member
Do you have any idea of how you can run an executable or a non-executable on the shell.Can you also use crontab ? If not then read about it. Can you copy and paste what you had written in your crontab ,.
Nov 15 '07 #3
mudassar83
10 New Member
Do you have any idea of how you can run an executable or a non-executable on the shell.Can you also use crontab ? If not then read about it. Can you copy and paste what you had written in your crontab ,.
Thx..
I had a problem with classpath setting . But now I have done it sucessfully...
Nov 15 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

4
1748
by: lawrence | last post by:
I want to offer my friends a ping service, where certain of their pages will be called once a week. My impression is that no PHP script can be made to run very long. Assuming a situation where I don't have access to cron, should I write the service as Java application and set it to run forever on my webserver? Or let's put it another way. Assume I want to write a remind service, where people are reminded of friend's birthdays. Should I...
3
3705
by: Al | last post by:
I've been attempting to run a small java applet via a cron on linux with the following command: 50 * * * * /home/usr/java/program/;java runScript I know runScript is running but the gui never pops up, what am I doing wrong? Thanks in advance
6
2668
by: sherryonline | last post by:
i have a page and i need that page to be called every day at 12:00 that page is going to connect to the database fetch some emails and will start mailing them how i am goning to do this.
8
2570
by: Rhino | last post by:
I'm trying to use the JDBC Universal driver to get a Type 4 connection in a Java client program running under DB2 V8.2.1 but I keep getting a "connection refused: connect" message. I'm running DB2 Personal Edition so I am trying to connect to the database SQLPROCS on this same machine. I've checked the manual and am imitating the examples as well as I can but the examples are geared to remote machines, not the local one, so I strongly...
4
3047
by: vagrantbrad | last post by:
I'm using python 2.4 running on Fedora Core 4. I have written a python program called ipscan.py that checks the external ip address of my cable internet connection, and on change, will update the dns records at my dns provider, zoneedit. So basically, I've setup dynamic dns using python. Once the ip compare and/or update is complete, I log the results to a text file called update.log. When I run the program in a bash shell with the...
3
10304
by: the.natalie | last post by:
Hi. I am a newbie to mysql, cron, and shell scripting, so please bear with me. I have a script that is used for updating an image directory based on contents in a database. The script does the following: runs several queries against different tables in a database; returns several lists of pictures being used in the database; removes any obsolete images from specific directories. The script is bash shell script. The problem is that...
1
2370
by: med | last post by:
i have a big problem! how i will run a class java with the command cron???????? i hav a class java taht i want to active him everyday at 23h30??? so how i will do so with cron???? plz it 's so urgent!!!!!
4
1933
by: gomzi | last post by:
hi, i have to execute a code at predetermined intervals.my admin told me to use something called a cron job.i would like to know whether it is possible to call a vb class through a cron job. thx, gomzi.
0
3467
by: Cameron Simpson | last post by:
On 17Aug2008 21:25, John Nagle <nagle@animats.comwrote: Because $HOSTNAME is a bash specific variable, set by bash but NOT EXPORTED! Like $0 and a bunch of other "private" variables, subprocesses do not inherit this value. From "man bash": Shell Variables The following variables are set by the shell:
0
8341
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8751
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8539
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7360
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5650
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4342
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2759
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1982
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1739
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.