in reply to Re: print on reboot or process shutdown
in thread print on reboot or process shutdown
But the END block is also executed when the script finishes. And it should only be executed on reboot or process kill.END { open(THEND,">ABORTED"); close(THEND); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: print on reboot or process shutdown
by gaal (Parson) on Jul 29, 2008 at 21:31 UTC | |
|
Re^3: print on reboot or process shutdown
by psini (Deacon) on Jul 29, 2008 at 21:30 UTC |