I'm running the script on a Unix-based FreeBSD system running the Apache 1.3.27 server.
I think I'll use the SIGPIPE approach.
There are already a lot of crons on my server - and the thing about those is I get an email from the root process every time one runs. I think it's more elegant to have the script clean up after itself.
And thanks to saskaqueer for your post. I didn't even think to use an "or die" statement on a print call. Not enough coffee today ...
Thanks! You monks are awesome.
In reply to Re: cleanup a cancelled CGI script
by goofball
in thread cleanup a cancelled CGI script
by goofball
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |