Writing to log file when script is killed
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
.
Relevant Pages
- Re: AWK problem need help
... The script is as follows: ... printf ("PAT:%s\n", $prev) ... The latter would print the field at whatever position "var" contains, and the whole record if var is zero or unset. ... Also, you don't need the " " as the final argument to splitas that's the default, and awk arrays start at 1, not 0 so "lastline" will always be empty. ... (comp.unix.shell) - Rules Wizard - delay in running VBA macro
... My box is not under any load, ... assumption is the script should fire immediately. ... Jim ... Prev by Date: ... (microsoft.public.office.developer.outlook.vba) - Re: Value list with multiple fields
... Does this mean I'll have to run the script ... BTW, the ... Carla. ... Prev by Date: ... (comp.databases.filemaker) - Re: figure placed out of screen
... So I closed matlab and re started to check for the ... Runned a script and the figure disappeared from the ... back to factory. ... Prev by Date: ... (comp.soft-sys.matlab) - Re: Change User DN / Control How User DN is Created
... > Is there a script / tool / etc that will allow us to change the user DN ... > is there a way to control how AD forms the user DN? ... Prev by Date: ... (microsoft.public.windows.server.active_directory) |
|