Solved

Java Task Scheduling w/ Daylight Savings Time

Posted on 2006-11-15
2
257 Views
Last Modified: 2006-11-18
I'm writing a Java app that needs to run tasks at specified times on certain days (ie Mondays @ 9:00, Weekdays @ 13:00).  I also need to take daylight savings time into account.  To make things harder I also need to keep in mind that this app may eventually be used internationally.

Does anybody know of a good Java scheduling solution?  My requirements in priority order are:
   1) Must take DST into account
   2) Allows scheduling by day of week, weekdays, weekend days, every day
   3) Allows one-shot scheduling
   4) Is international-ready

Thanks.
0
Comment
Question by:hockeytops
2 Comments
 
LVL 92

Accepted Solution

by:
objects earned 500 total points
ID: 17951318
0
 
LVL 8

Expert Comment

by:reach2piyush
ID: 17952545
Most of the schedulers, UNix Cron jobs or utilities like Quartz, will provide you 2) & 3):
About 1) & 4)
All these works on the System date of the Server they are installed on, so if you schedule some thing for 7:00 AM everyday, it will be invoke the tasks whenever the Server System Time is 7:00 AM



0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now