Salesforce

ai tools watch

« Go Back
Information
ai tools watch
000005930
Public
Product Selection
aiWare - aiWare
Article Details

watch watches the specified input folder, creates jobs for each file using the job template as named by `templateName` for the engine.

The function also polls jobs for complete status and retrieves the output for the jobs and stores them in the output folder with the corresponding base filename. The engine is required to have the template defined in `edge.engine_template` table.

```
ai tools watch --input in --output out --engine engineID --template templateName [flags]
```

Options

```
--engine string engineID
-h, --help help for watch
--idle input number of seconds to wait for new files in the input directory. Default is an hour. -1 means a year (default 3600)
--input string fully qualified path for the input directory (default "./in")
--output string fully qualified path for the output directory (default "./out")
--template string templateName
```

Options inherited from parent commands

```
-c, --config string CLI Config file to use. By default it will be /home/ubuntu/.config/aiware-cli.yaml
--controller-token string Bearer token to use for authenticating operations.
--controller-url string Controller URL to use for the CLI. If specified, this will be used instead of what is in the configuration. (default "http://localhost:9000/edge/v1")
-d, --debug Enables debug output
-f, --format string The output format. The values are text, log or json.
--host-type-id string Host type ID of the host
--hub-url string aiWARE Hub URL
-p, --profile string The profile to use. If not specified, the profile named 'default' will be used. The profiles are set in ~/.config/aiware-cli.yaml (default "default")
-q, --quiet Disables output extra output except the main output
--sample-app Indicates whether it should install the sample app
```
Additional Technical Documentation Information
Properties
9/18/2024 9:04 PM
9/18/2024 9:04 PM
9/18/2024 9:04 PM
Documentation
Documentation
000005930
Translation Information
English

Powered by