I have written one java program which downloads one xml from server and stores that in my local disk.
This java program is being run through a cron in Linux every one minute.
I want to monitor in linux that if somehow the java program takes more than one minute then the next cron entry should not start.
Can this be done through JAVA??
Is their any monitoring classes or something.??
Or it can be done in LINUX??
Thanks in Advance