简体   繁体   中英

how to customize notification of control-m?

I want to send a http request to my own applications when job ended ok ? Is this notification supported by control-m Or Is there any other ways to fulfill my requests? enter image description here

This is best achieved via the "shout destination" table. Create a shout destination that is of the 'P' type (ie program). Point the destination to a simple script that sends a curl instruction to your desired http address.

If you want avoid shout destinations, try using the post-command field in the jobdef but it conditional on the main job working.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM