I have a java file where 3 methods need to be running at once (thread usage). Java is not my strong point, so this is as far as I got.
I have three "listeners" that need to run concurrently. One is tailing a file (line 180), one is running a local shell script every 15 seconds (line 190), and the other is calling a web site every 15 seconds (line 207).
Right now, it tails the file fine, and then will run the shell script, but won't trigger the web call because it's not in it's own thread.
I have attached the code.