I would like to call a function just once on the day of change that will end my program after 5 minutes I have tried with timer (). schedule (mainTask, time) the function of a particular time to execute. Tracks I have problems when my time is GMT so java.util.Date format and I actually have an hour it would be more problems because I get the timer to 23, the program and if it is then started again then jump back on the timer starts and immediate the prog down again it would happen at 24!!! Please provide some suggestions.
Bookmarks