Monitor a file, when the file is not change with 1 min, then send a email to the target mail box.
Usage:
python main.py [file]
For example:
python main.py /home/hui/FSI/tree/log.mpirun
For running as background process:
python main.py /home/hui/FSI/tree/log.mpirun > log.email &