Since you are using JSP and having your own server, you might set it as a scheduled task (Windows) to run at 6AM Everyday
First this is called Cron Jobs
Go to the Task Scheduler
Win 7:
Start -> All Programs -> Accessories -> System Tools -> Task Scheduler
From the right panel choose "Create Basic Task ..."
Give the task a name, hit next.
In the trigger tab, choose daily, then click next.
The next tab will let you set the specified date to start launching the trigger, the time, set the time and hit next.
In the Action tab, choose "Start A Program", then Next/.
In the next tab, click browse next to the program/script field, then navigate to the location of the Apache tomcat Server and choose the application.
(for the appache from WAMP Package: wamp\bin\apache\Apache2.2.11\bin\httpd.exe) tom cat will difer a bit I guess.
hit Next then Check the "Open the Properties Dialog for this task when I click Finish" then click Finish.
Now go to the action tab, select the first and only action available, click edit.
in the program/script field and modify type a space, then URL
change the URL to the URL you use to access your page.
This will let you be able to launch the script everyday at 6AM.