I basically have a command to start my Java ERP program and that all works fine. I was wondering if any calls are made to an ERP provider in Hunk if a job is stopped or paused. All I have done so far is put in a shut down hook so some cleanup happens if my ERP program is killed early (which I think is what happens when a job is stopped).
There are no predefined hooks in the interface. However, you should be able to detect when a search process has been paused / finalized / canceled by periodically looking for sentinel files (with the same names) in the search's dispatch dir $SPLUNK_HOME/var/run/splunk/dispatch/<sid>
The search process when:
There are no predefined hooks in the interface. However, you should be able to detect when a search process has been paused / finalized / canceled by periodically looking for sentinel files (with the same names) in the search's dispatch dir $SPLUNK_HOME/var/run/splunk/dispatch/<sid>
The search process when: