The simple approach is just to have a cron job kick off at the appropriate time, run a little
java app that calls the server to do what you want.
You may want to put a one record, two field database that is shared, when you start the process, change the "inUse" field to true, do the work, and then clear it. Have all the code check with synchronization the database. Then update the "date processed" to the current time, or to the next time you want it run.