【问题标题】:how to run control m job through python script?如何通过 python 脚本运行 control m 作业?
【发布时间】:2021-03-09 18:47:47
【问题描述】:

我有一个 control m 作业而不是通过 control m 应用程序触发它我想通过我的 python 脚本触发但我不知道如何执行此操作 python 中是否有任何模块可以触发 control m 作业和还有如何将用户 ID、DNS 详细信息和密码传递给它..

【问题讨论】:

    标签: python shell control-m


    【解决方案1】:

    可以使用 Control-M 自动化 API 来完成。 您可以使用以下链接作为python代码的参考:

    https://github.com/controlm/automation-api-quickstart/tree/master/control-m/201-call-rest-api-using-python

    您可以使用以下链接浏览 Control-M Swagger 文档:

    http://aapi-swagger-doc.s3-website-us-west-2.amazonaws.com/#/run/runNow

    看来/run/runNow 端点可以解决问题

    【讨论】:

      猜你喜欢
      • 2023-03-21
      • 1970-01-01
      • 2020-08-30
      • 2020-02-28
      • 1970-01-01
      • 2015-10-15
      • 1970-01-01
      • 2018-09-27
      • 1970-01-01
      相关资源
      最近更新 更多