I am looking for a way for my script to write to a log file saying something like this: I was killed at time.asctime() I would like to be able to do this if/when the script is killed by means rather than my own. How in the world would I accomplish this? Thanks, Harlin