---
schema_version: "1"
id: 8da543a8fe9016a7bf7fcf08ded49e7377b3806825d15d6766aad37d61d62e28
title: Automate Refresh Tasks
collection: tableau
version: current
locale: en-us
portal_url: https://docs.salesforce.com/tableau/current/en-us/server/extract_refresh.md
canonical_url: https://help.tableau.com/current/server/en-us/extract_refresh.htm
source_site: help.tableau.com
content_type: documentation
content_hash: 3d0340105f46bc2f8ed21d5cc1524f0bdf179871edcc326204799782fafa4b54
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-us/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-us/tabcmd.htm).