If you are using unix, you need to write a shellscript to run you java batch first.
After that, in unix, you run this command "crontab -e" to edit crontab script.
In order to configure crontab, please refer to this article http://www.thegeekstuff.com/2009/06/15-practical-crontab-examples/
Save your crontab setting. Then wait for the time to come, program will run automatically.