github.com/cozy/cozy-stack@v0.0.0-20240603063001-31110fa4cae1/docs/cli/cozy-stack_jobs_run.md (about)

     1  ## cozy-stack jobs run
     2  
     3  
     4  
     5  ```
     6  cozy-stack jobs run <worker> [flags]
     7  ```
     8  
     9  ### Examples
    10  
    11  ```
    12  $ cozy-stack jobs run service --domain example.mycozy.cloud --json '{"slug": "banks", "name": "onOperationOrBillCreate", "file": "onOperationOrBillCreate.js"}'
    13  ```
    14  
    15  ### Options
    16  
    17  ```
    18    -h, --help           help for run
    19        --json string    specify the job arguments as raw JSON
    20        --logs           print jobs log in stdout
    21        --logs-verbose   verbose logging (with --logs flag)
    22  ```
    23  
    24  ### Options inherited from parent commands
    25  
    26  ```
    27        --admin-host string   administration server host (default "localhost")
    28        --admin-port int      administration server port (default 6060)
    29    -c, --config string       configuration file (default "$HOME/.cozy.yaml")
    30        --domain string       specify the domain name of the instance (default "cozy.localhost:8080")
    31        --host string         server host (default "localhost")
    32    -p, --port int            server port (default 8080)
    33  ```
    34  
    35  ### SEE ALSO
    36  
    37  * [cozy-stack jobs](cozy-stack_jobs.md)	 - Launch and manage jobs and workers
    38