perl - shell script set time limit and notify -
possible duplicate:
bash: terminate on timeout/file overflow while executing command
i have shell script backup o/s image. want set time limit , notify me. if shell script runs longer 2 hours, needs send e-mail out. best way implement logic?
you can use ps command check how time process running.
Comments
Post a Comment