iectl iem-v2 job retry-rollback¶
Perform action (Retry, Rollback, RetryResubmit or RollbackResubmit) on job ids
Synopsis¶
This method performs intended action and provides action submission status in each job.
iectl iem-v2 job retry-rollback [flags]
Options¶
--action string The action to perform (Retry, Rollback, RetryResubmit or RollbackResubmit)
--body string The list of job IDs. The job list can get from batches api with the specific batch id.
-d, --data string use this flag for passing data via json or as datafile with @filename
-h, --help help for retry-rollback
Options inherited from parent commands¶
-o, --output string output format
-q, --query string query on result of object
-v, --verbose verbose output
Example¶
$ iectl iem-v2 job retry-rollback --action Retry --body '["sampleJobId1","sampleJobId2"]'
$ iectl iem-v2 job retry-rollback --action Rollback --body '["sampleJobId"]'
$ iectl iem-v2 job retry-rollback --action RetryResubmit --body '["sampleJobId1","sampleJobId2"]'
$ iectl iem-v2 job retry-rollback --action RollbackResubmit --body '["sampleJobId"]'
SEE ALSO¶
- iectl iem-v2 job - batch jobs related commands
- iectl iem-v2 job get-batch-jobs - List of jobs with the unique batch ID
- iectl iem-v2 job batch-status - Get batch status with the unique batch ID
- iectl iem-v2 job batch-create - Execute commands on app
- iectl iem-v2 job batch-create-device - Execute commands on device
- iectl iem-v2 job delete - Delete jobs
- iectl iem-v2 job device-job-list - list all jobs submitted on Edge Devices
- iectl iem-v2 job device-job-wait - wait for completion of device job
- iectl iem-v2 job import-job-list - list all import app jobs
- iectl iem-v2 job import-job-wait - wait for completion of import app jobs
- iectl iem-v2 job install-job-status - Get device job status from jobId
- iectl iem-v2 job list - List of jobs with the unique batch ID