The chat responses are generated using Generative AI technology for intuitive search and may not be entirely accurate. They are not intended as professional advice. For full details, including our use rights, privacy practices and potential export control restrictions, please refer to our Generative AI Service Terms of Use and Generative AI Service Privacy Information. As this is a test version, please let us know if something irritating comes up. Like you get recommended a chocolate fudge ice cream instead of an energy managing application. If that occurs, please use the feedback button in our contact form!
Skip to content
Industrial IoT Open Source Tools and Libraries

Demo applications, libraries and SDKs as well as useful connectivity tools which are maintained and released as open source software.

mdsp delivery-jobs Command¶

Syntax:

mdsp delivery-jobs

Help:

mdsp delivery-jobs --help

Alternative form:

mc delivery-jobs

(The CLI was using mc as default command name in older versions)

Description¶

manage mqtt delivery jobs to publish MQTT commands to the clients *

Usage¶

Parameter list:

Usage: mdsp delivery-jobs|dj [options]

manage mqtt delivery jobs to publish MQTT commands to the clients *

Options:
 -m, --mode [list|create|delete|template|info|commands|commandinfo] list | create | delete | template | info | commands | commandinfo
 (default: "list")
 -f, --file .mdsp.json file with job definition (default:
 "deliveryjob.mqtt.mdsp.json")
 -i, --jobid the job id
 -c, --commandid the command id
 -e, --name the name filter (contains) for list command
 -t, --filter the JSON filter as specified in the API documentation
 -o, --overwrite overwrite template file if it already exists
 -k, --passkey passkey
 -y, --retry retry attempts before giving up (default: "3")
 -v, --verbose verbose output
 -h, --help display help for command

Examples¶

Here are some examples of how to use the mdsp delivery-jobs command:

 Examples:

 mdsp delivery-jobs --mode list list all jobs
 mdsp delivery-jobs --mode list --name list all mqtt delivery jobs with the given name
 mdsp delivery-jobs --mode list --filter '{"createdAt": {"after": "2021-11-06T13:46:00Z"}}' 
 list all mqtt delivery jobs created after the specified date
 mdsp delivery-jobs --mode template create template file for job creation
 mdsp delivery-jobs --mode create --file create job
 mdsp delivery-jobs --mode info --jobid get infos about the job
 mdsp delivery-jobs --mode delete --jobid delete job with job id
 mdsp delivery-jobs --mode commands --jobid list all commands for specified job id
 mdsp delivery-jobs --mode commandinfo --jobid --commandid 
 get info for selected command

See Insights Hub API documentation for more information about Insights Hub APIs.