---
schema_version: "1"
id: 02dabb99e0d83345d8f34c5d4293c2b528e9579c2b39cb810c6c3375607e62f4
title: 自动刷新任务
collection: tableau
version: current
locale: zh-cn
portal_url: https://docs.salesforce.com/tableau/current/zh-cn/server-linux/extract_refresh.md
canonical_url: https://help.tableau.com/current/server-linux/zh-cn/extract_refresh.htm
source_site: help.tableau.com
content_type: documentation
content_hash: e57b356454825907d9135b335bb40b0c7b6b63f1011157418b688d228259cb19
description: Automate extract refresh tasks using schedules and tabcmd on Tableau Server.
---
[跳转到主要内容](#main-content)

# 自动刷新任务

您可以将数据提取刷新任务与 Tableau Server 中的计划关联，以自动刷新数据提取。您也可以使用 tabcmd（一种您可下载以与 Tableau Server 结合使用的命令行实用工具）自动执行数据提取刷新。具体来说，您可以将 `refreshextracts` 命令与您脚本中的其他命令结合使用。例如：

`tabcmd login - http://mytabserver -u jsmith -p P@ssw0rd! refreshextracts --datasource salesq4`

**注意：**对 Tableau 10.4 及更早版本中创建的数据提取（即 .tde 数据提取）执行数据提取刷新操作时，数据提取会自动升级为 .hyper 数据提取。尽管升级到 .hyper 数据提取有许多优点，但您的用户将无法使用更早版本的 Tableau Desktop 打开数据提取。有关详细信息，请参见[数据提取升级为 .hyper 格式](https://help.tableau.com/current/server-linux/zh-cn/extracting_upgrade.htm)。 

## 说明

- 子范围自动转换为 UTC。在使用非 UTC 时区的环境中，基于 UTC 配置子范围。

有关下载 tabcmd 实用工具的信息，请参见 [tabcmd](https://help.tableau.com/current/server-linux/zh-cn/tabcmd.htm)。