Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
am newbie and i have problem to write a scheduling script in java, this script should do something in certain time interval... Could anybody help me, maybe give some example or source that maybe useful... I really thnx for any answer...
am newbie and i have problem to write a scheduling script in java, this script should do something in certain time interval... Could anybody help me, maybe give some example or source that maybe useful... I really thnx for any answer...
Spell out your words and write clearly.
And yes, we can help you, but we're not going to write it FOR you. Post what you've written/tried so far, and where you're stuck, and we can assist. Otherwise, there are many Java timer examples you can easily find if you tried to look. First hit in Google: http://www.gammelsaeter.com/programm...ample-in-java/
am newbie and i have problem to write a scheduling script in java, this script should do something in certain time interval... Could anybody help me, maybe give some example or source that maybe useful... I really thnx for any answer...
TB0ne is right in whatever he has said.
On a Unix/Linux Box, we would, however, not need any scheduling script because crontab does it fantastically.
Google on a crontab format it will b e handy.
Example:
Code:
crontab -e
That will open your crontab which you can edit/modify. Once again, Google on the fields you need to specify and then see the result by running a mail client such as:
i'm sorry for late reply, thanx for any advice from you all,
i'm just a newbie, and i'm bad in english,,
but i've found my sollution, i use library cron4j to schedule my task on script,
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.