• Ask a Question
  • Create a Poll
150
Insert Image Size must be less than < 5MB.
    Ask a Question
    Cancel
    150
    More answer You can create 5 answer(s).
      Ask a Poll
      Cancel
      Beginner

      RE: How do I disable a particular job present in the jobflow using dicmd/curl commands

      I have jobflow which has many jobs included in it. I have requirement to disable a job present in it. How Can I do it from CLI or REST commands

      Asked by TommyM on October 1, 2020 in Diyotta Scheduler.
      1 Answers
      Expert

      Diyotta has included a new dicmd command which would disable one particular job present in the job flows

      DICMD:

      Syntax: dicmd changejobmode [-u userName -w userPassword] -m disable|enable -p ProjectName -l LayerName -s JobFlowName -j jobName

       

      Example: dicmd changejobmode -u avinash -w P2wd_1234 -m disable -p TESTPROJECT -l Layer_1 -s j_FILE_to_HIVE -j TASK_NAME_2

      CURL command:

      Example : curl -X POST “http://172.40.9.130:9600/diyotta-rest/changejobmode?project=3121_bug_fixes&layer=layer_1&flow=j_dds_8600&jobname=task_name_2&mode=disable” -H “Authorization:BQxKxU8XzYLKOLNKM67/eBIkHCq7EAQU/7X3ct+dIGA=”

      Answered by Naveen Arza on October 5, 2020..