# dflow jobs:schedule

> Schedule a task for an application.

Web page: /docs/cli/data/jobs-schedule/

This schedules a task for an application. `--schedule` is a five-field cron expression, the same shape as a crontab line. A bad schedule exits 1.

```bash
dflow jobs:schedule --app APP --name NAME --image IMAGE --schedule SCHEDULE
```

## Flags

`--app`, `--name`, `--image`, and `--schedule` are required. `--schedule` is a five-field cron schedule.

## What you see

The schedule is recorded.

## When it fails

A bad schedule exits 1.
