Ivcap job create
ivcap job create¶
Create a new job
Synopsis¶
Create a new job by executing the service 'service-id' with the input paramters defined in either a provided (json) file or a reference to an aspect containing the parameter definitions. If the job definition is provided through 'stdin' use '-' as the file name and also include the --format flag
Options¶
-a, --aspect string URN of aspect containing job parameters
-f, --file string Path to job description file
--format string Format of input file [json, yaml] (default "json")
-h, --help help for create
--stream if set, print job related events to stdout
--watch if set, watch the job until it is finished
Options inherited from parent commands¶
--access-token string Access token to use for authentication with API server [IVCAP_ACCESS_TOKEN]
--context string Context (deployment) to use
--debug Set logging level to DEBUG
--no-history Do not store history
-o, --output string Set format for displaying output [json, yaml]
--silent Do not show any progress information
--timeout int Max. number of seconds to wait for completion (default 30)
SEE ALSO¶
- ivcap job - Create and manage jobs