Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
  • Piet Souris
  • Himai Minh

support for sheduling in java

Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
how to support for sheduling in java
dear sir : iam doing project in which i have to support sheduling for ex u might have seen windows operating system supports sheduling,like u may see the clock in the taskbar of windows it will be running continuously, it will show the correct time when u boot the computer every time. In the similar fashion i have written an application for url validation i want to set the frequency of that application say 2 days(what ever) it should run automatically without user intervention once for the specified time frequency, u can assume that computer will be running continuously.
Is there any packages or third party tools which can be used to support such type of sheduling.
if anybody have written such type application please send the code for my reference. please help me iam in hurry.
humbly request
thanks a lot in advance
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sure. sort of.
You can write a Java program that uses threads to sleep for a specific amount of time (i.e., seconds to days....). Therefore, if one where to write the program and let it sit in the background then it kick into life every so often and do what you want it to do...i.e.,

This would kick off a thread that will sleep for at least 2 minutes before being waken up and allowed to do something...It would then loop back round again and sleep again...
As for anything that will convert Java into a service on NT, then over to someone else for that answer...??

[This message has been edited by David Harrigan (edited December 14, 2000).]
I don't get it. A whale wearing overalls? How does that even work? It's like a tiny ad wearing overalls.
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
    Bookmark Topic Watch Topic
  • New Topic