On Fri, 12 Aug 2022 11:01:01 +0500
farrukh ahmed <farrukhahmed4...@gmail.com> wrote:

> *What I'm trying to achieve is that;*
> *1) Check if any job process is running.*
> *2) If the job process found running then; first stop the process and then
> remove the process.*

Use *pkill*
https://www.commandlinux.com/man-page/man1/pkill.1.html

-- 
Vladimir Botka

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/20220812084835.2c61b36e%40gmail.com.

Attachment: pgpoPmq4HgynN.pgp
Description: OpenPGP digital signature

Reply via email to