docs-v2/content/v2.0/reference/cli/influx/task/create.md

1.2 KiB

title description menu weight
influx task create The 'influx task create' command creates a new task in InfluxDB.
v2_0_ref
name parent
influx task create influx task
201

The influx task create command creates a new task in InfluxDB.

Usage

influx task create [query literal or @/path/to/query.flux] [flags]

Flags

Flag Description Input type
-h, --help Help for create
--org Organization name string
--org-id ID of the organization that owns the task string

Global flags

Global flag Description Input type
--host HTTP address of InfluxDB (default http://localhost:9999) string
--local Run commands locally against the filesystem
-t, --token API token to be used throughout client calls string