I am currently trying to code and java program that will be a .exe file which will run in the background of computers everytime a user logs on. I'll will do this by putting it as a log on scripts on each machine.
My questions are, firstly I need to know how to call a .bat file from my java program. i.e. when it is a certain time I need the .bat file to be run.
Secondly I am not very familiar with threads and I need to create one so the time can be updated every minute so that the program will be running continuously while the user is logged in.
I'd appreciate any help,