I am using Stata 13.1 on Unix. I am also using the user written command project, version 1.3.1 22dec2013
My project takes a long time to run, so I like to use Unix's mail capabilities to send me an email when the project has been built, with a line like this at the end of my master do file.
I would like to send a different email when the build was unsuccessful and broke, ideally with some information about the dofile where the build failed and the error code. But from a quick look at the project ado files I can not see if project returns any useful output that can be used to check if the build was unsuccessful and send the email.
Does anyone know how project handles breaks and whether it stores macros that can be used after an unsuccessful build?
Thank you.
My project takes a long time to run, so I like to use Unix's mail capabilities to send me an email when the project has been built, with a line like this at the end of my master do file.
:
shell echo "Build is finished" | mail -s "project built succesfully" xxx@gmail.com
Does anyone know how project handles breaks and whether it stores macros that can be used after an unsuccessful build?
Thank you.