I have created a java class which checks for txt files in a server folder and delete's them if they exist (Note I am doing this because only the encrypted version of the file should remain in this folder).
I want to run this class about every 5 or 10 mnutes (one or the other - haven't decided yet).
Therefore I presume I will need to add a scheduler to the Windows 200 server on which this runs which starts the java class running every 10 minutes.
I wondered, how do i create this scheduler (never done this type of thing before), and also can I check if the class is already running (in order to stop it trying to run twice at the same time).
Any help would be greatly appreciated.