---
schema_version: "1"
id: 58b829ece72aa2da3778b3a923544e5e9fcccf5d35b0564a86a05099fdad506e
title: 自动刷新任务
collection: tableau
version: current
locale: zh-cn
portal_url: https://docs.salesforce.com/tableau/current/zh-cn/server/extract_refresh.md
canonical_url: https://help.tableau.com/current/server/zh-cn/extract_refresh.htm
source_site: help.tableau.com
content_type: documentation
content_hash: 0dca875289315c1540ea15755cafcaee5999330dcc7cb44c59dafe74e60fc0a7
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/zh-cn/extracting_upgrade.htm)。 

## 说明

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

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