InfluxDB Docs

influx task create

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


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


FlagDescriptionInput type
-h, --helpHelp for create
--orgOrganization namestring
--org-idID of the organization that owns the taskstring

Global flags

Global flagDescriptionInput type
--hostHTTP address of InfluxDB (default http://localhost:9999)string
--localRun commands locally against the filesystem
-t, --tokenAPI token to be used throughout client callsstring