Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Condor-users] Trapping condor_rm's signal
- Date: Fri, 01 Feb 2008 12:18:04 +0000
- From: Mark Calleja <M.Calleja@xxxxxxxxxxxxxxx>
- Subject: [Condor-users] Trapping condor_rm's signal
Hi,
I need to trap whatever signal is generated by condor_rm, and having
read the manual at:
http://www.cs.wisc.edu/condor/manual/v6.8/7_3Running_Condor.html#SECTION008314000000000000000
it would seem that I should be able to trap SIGTERM by default, or make
sure by setting "|kill_sig = |SIGTERM" in the submit script (this is a
vanilla job under 6.8.8 on an i386 linux machine, kernel 2.6.18).
However, a simple test with a signal handler in a bash script never
traps SIGTERM when I perform condor_rm, whereas I can successfully trap
it if I send it directly to the running process from the command line.
What am I missing?
Cheers,
Mark