----------- work cancel ----------- .. contents:: :local: ``receptorctl work cancel`` terminates one or more units of work. Command syntax: ``receptorctl --socket= work cancel <> [...]`` ``socket_path`` is the control socket address for the Receptor connection. The default is ``unix:`` for a Unix socket. Use ``tcp://`` for a TCP socket. The corresponding environment variable is ``RECEPTORCTL_SOCKET``. .. code-block:: text ss --listening --processes --unix 'src = unix:' Netid State Recv-Q Send-Q Local Address:Port Peer Address:Port Process u_str LISTEN 0 4096 /tmp/local.sock 38130170 * 0 users:(("receptor",pid=3226769,fd=7)) ``ps -fp $(pidof receptor)`` ``lsof -p `` ``Unit ID`` is a unique identifier for a work unit (job). When running the ``work cancel`` command, you should specify the ``Unit ID`` for the Receptor node to which you are connected.