Java program to schedule probes