I have a script running some code as a background process via nohup. I need to be able to run a script which will kill that process. I've tried to get the pid and kill it but am having trouble with that. There has to be a simple command for non-unix people to use to stop the service - i.e. I can't rely on them doing a kill -9 ! Does anyone have any simple suggestions that might help ?
My start up script is
#!/usr/bin/ksh
nohup /home/runtime/is/scripts/TransferService.sh > /home/runtime/is/log/TransferService.log &
and the entry for it if I do a ps - "pid, args" is:
16734 ksh /home/runtime/is/scripts/TransferService.sh
I'm running on AIX.
Thanks
Kathi
My start up script is
#!/usr/bin/ksh
nohup /home/runtime/is/scripts/TransferService.sh > /home/runtime/is/log/TransferService.log &
and the entry for it if I do a ps - "pid, args" is:
16734 ksh /home/runtime/is/scripts/TransferService.sh
I'm running on AIX.
Thanks
Kathi