Sha256: c88b3cfb87101de9d46a5e8b0837c5c30169c6ea818f415ff2d21c15db0eb95b

Contents?: true

Size: 837 Bytes

Versions: 9

Compression:

Stored size: 837 Bytes

Contents

---
title: ufo task
reference: true
---

## Usage

    ufo task TASK_DEFINITION

## Description

Run a one-time task.

## Examples

You can use the `--command` or `-c` option to override the Docker container command.

    ufo task hi-migrate # default command
    ufo task hi-web --command bin/migrate
    ufo task hi-web --command bin/with_env bundle exec rake db:migrate:redo VERSION=xxx
    ufo task hi-web -c uptime
    ufo task hi-web -c pwd


## Options

```
    [--docker], [--no-docker]    # Enable docker build and push
                                 # Default: true
c, [--command=one two three]     # Override the command used for the container
    [--verbose], [--no-verbose]  
    [--mute], [--no-mute]        
    [--noop], [--no-noop]        
    [--cluster=CLUSTER]          # Cluster.  Overrides ufo/settings.yml.
```

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
ufo-3.5.3 docs/_reference/ufo-task.md
ufo-3.5.2 docs/_reference/ufo-task.md
ufo-3.5.1 docs/_reference/ufo-task.md
ufo-3.5.0 docs/_reference/ufo-task.md
ufo-3.4.4 docs/_reference/ufo-task.md
ufo-3.4.3 docs/_reference/ufo-task.md
ufo-3.4.2 docs/_reference/ufo-task.md
ufo-3.4.1 docs/_reference/ufo-task.md
ufo-3.4.0 docs/_reference/ufo-task.md