A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Badass: Making Users Awesome
this week in the
Schedule a Timer for (starting Date, No of times, no of days) problem
Joined: Sep 05, 2005
May 18, 2007 03:15:00
I have a
which need to be scheduled for conditions such as
1) Start Date and Time
2) Frequency (no of times it needs to be run)
No 3 is actually a combo box in the UI.
If Day is selected then and Frequency is 5 means - Start from the Starting date and run for the next 5 days.
Similarly if Month is selected - Start from the Starting date and run for the next Five months.
Similarly for the year.
Now how can I specify in schedule() method of the Timer object so that it can accomplish the above objective.
Please help me out from this problem.
Thanks for your comments.
Joined: Jan 29, 2003
May 18, 2007 08:48:00
Duplicate thread. Answered
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
I agree. Here's the link:
subject: Schedule a Timer for (starting Date, No of times, no of days) problem
Web Page to Excel Sheet
scheduled java Timer job
How to make a calender
Crazy date program
Make sure that Timer run everyday at a Specific Time
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015