valosekj / bash_basics

Bundle of bash, python and matlab scripts and functions used in routine work
MIT License
2 stars 0 forks source link

Check if process run at the beginning of send_email_when_finish.sh #6

Open valosekj opened 2 years ago

valosekj commented 2 years ago

send_email_when_finish.sh does not deal with situation when process already finished. For example, if some process finish and 10 min later I call send_email_when_finish.sh I do know when exactly process finished.

Possible fix - check if process is running directly after call of send_email_when_finish.sh