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
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=”