> ## Documentation Index
> Fetch the complete documentation index at: https://docs.prefect.io/llms.txt
> Use this file to discover all available pages before exploring further.

#  

# `prefect task`

```command theme={null}
prefect task [OPTIONS] COMMAND [ARGS]...
```

<Info>
  Work with task scheduling.
</Info>

## `prefect task serve`

```command theme={null}
prefect task serve [OPTIONS] [ENTRYPOINTS]...
```

<Info>
  Serve the provided tasks so that their runs may be submitted to and
  executed in the engine.
</Info>

<AccordionGroup>
  <Accordion title="Arguments" defaultOpen>
    <ResponseField name="ENTRYPOINTS..." type="string">
      The paths to one or more tasks, in the form of `./path/to/file.py:task_func_name`.
    </ResponseField>
  </Accordion>

  <Accordion title="Options" defaultOpen>
    <ResponseField name="--module">
      The module(s) to import the tasks from.
    </ResponseField>

    <ResponseField name="--limit">
      The maximum number of tasks that can be run concurrently. Defaults to 10.
    </ResponseField>
  </Accordion>
</AccordionGroup>
