---
schema_version: "1"
id: 210cb52c64ce857f26906bbe4ac010f75e1d97f3b65ff2c1a47026224280c0c1
title: Automate Refresh Tasks
collection: tableau
version: current
locale: en-gb
portal_url: https://docs.salesforce.com/tableau/current/en-gb/server/extract_refresh.md
canonical_url: https://help.tableau.com/current/server/en-gb/extract_refresh.htm
source_site: help.tableau.com
content_type: documentation
content_hash: 0ec73eccb13bd3226059701935f04fdc0108eda79f574aadea89a98ebc0fe557
description: Automate extract refresh tasks using schedules and tabcmd on Tableau Server.
---
[Skip to main content](#main-content)

# Automate Refresh Tasks

You can associate extract refresh tasks with schedules in Tableau Server to automate refreshing extracts. You can also automate extract refreshes using tabcmd, a command line utility that you can download for use with Tableau Server. In particular, you can use the `refreshextracts` command in combination with other commands in your own script. For example:

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

**Note:** When an extract refresh is performed on extracts created in Tableau 10.4 and earlier (that is, a .tde extract), the extract is upgraded to .hyper extract automatically. While there are many benefits of upgrading to a .hyper extract, your users won't be able open the extract with earlier versions of Tableau Desktop. For more information, see [Extract Upgrade to .hyper Format](https://help.tableau.com/current/server/en-gb/extracting_upgrade.htm). 

## Notes

- The subrange is automatically converted to UTC. In environments using time zones other than UTC, configure the subrange based on UTC.

For information about downloading the tabcmd utility, see [tabcmd](https://help.tableau.com/current/server/en-gb/tabcmd.htm).