I run a python script several days ago using 'python a.py &' on my Ubuntu 12.04. I assume it's running all the time, but just now I found it crashed 2 days ago. Is there any log information on ubuntu that I can find how it crashed? Any debug message recorded by the system?
Also, is there a way to set up a alert checking, like send me an email if this python script is not running anymore? I need it to be running all the time. Thanks