Sha256: 02cbcdb6556abbfc9914adc43e206725d58023690e139b420c77f375c8467509

Contents?: true

Size: 784 Bytes

Versions: 6

Compression:

Stored size: 784 Bytes

Contents

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

## Usage

    ufo task TASK_DEFINITION

## Description

Run a one-time task.

## Examples

To run a one time task with ECS:

    ufo task hi-migrate

You can also override the command used by the Docker container in the task definitions via command.

    ufo task hi-web --command bin/migrate
    ufo task hi-web --command bin/with_env bundle exec rake db:migrate:redo VERSION=xxx


## Options

```
[--docker], [--no-docker]    # Enable docker build and push
                             # Default: true
[--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

6 entries across 6 versions & 1 rubygems

Version Path
ufo-3.3.2 docs/_reference/ufo-task.md
ufo-3.3.1 docs/_reference/ufo-task.md
ufo-3.3.0 docs/_reference/ufo-task.md
ufo-3.2.2 docs/_reference/ufo-task.md
ufo-3.2.1 docs/_reference/ufo-task.md
ufo-3.2.0 docs/_reference/ufo-task.md