Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Java Task Scheduling w/ Daylight Savings Time

Posted on 2006-11-15
2
Medium Priority
?
296 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 2000 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses
Course of the Month10 days, 6 hours left to enroll

571 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