---
title: Common data processing tasks
description: InfluxDB Tasks process data on specified schedules. This collection of articles walks through common use cases for InfluxDB tasks.
url: https://docs.influxdata.com/influxdb/v2/process-data/common-tasks/
estimated_tokens: 440
product: InfluxDB OSS v2
version: v2
---

# Common data processing tasks

This page documents an earlier version of InfluxDB OSS. [InfluxDB 3 Core](/influxdb3/core/) is the latest stable version.

#### API token hashing is enabled by default in InfluxDB OSS 2.9.0

Stronger token security: tokens are stored as hashes on disk, so a copy of the database file doesn’t expose usable tokens. Existing tokens are hashed on first startup and the original strings can’t be recovered afterward — **capture any plaintext tokens you still need before you upgrade**.

For more information, see [Token hashing](/influxdb/v2/admin/tokens/#token-hashing).

The following articles walk through common task use cases.

### [Downsample data with InfluxDB](/influxdb/v2/process-data/common-tasks/downsample-data/)

How to create a task that downsamples data much like continuous queries in previous versions of InfluxDB.

### [Calculate a weekly mean](/influxdb/v2/process-data/common-tasks/calculate_weekly_mean/)

Calculate a weekly mean and add it to a new bucket.

### [Convert results to JSON](/influxdb/v2/process-data/common-tasks/convert_results_to_json/)

Use `json.encode()` to convert query results to JSON and `http.post()` to send them to a URL endpoint.

[tasks](/influxdb/v2/tags/tasks/)
