---
description: "Learn what scheduled jobs are in Medusa. Scheduled jobs (also known as cron jobs) are tasks performed at a specific time in the Medusa Backend."
---

import DocCard from '@theme/DocCard';
import Icons from '@theme/Icon';

# Scheduled Jobs

In this document, you’ll learn what scheduled jobs are in Medusa.

## Introduction

Scheduled jobs (also known as cron jobs) are tasks performed at a specific time while the Medusa Backend is running. They’re used to perform asynchronous tasks in the background.

For example, you can synchronize your inventory with an Enterprise Resource Planning (ERP) system once a day using a scheduled job.

In the Medusa Backend, the scheduled jobs queue is implemented using [Redis](https://redis.io/) and [Bull](https://www.npmjs.com/package/bull). So, for scheduled jobs to work, you must have [Redis installed and enabled](../../development/backend/configurations.md#redis).

:::tip

Future versions of Medusa will allow switching out Redis and using a different pub/sub service.

:::

---

## Custom Development

Developers can create an unlimited number of scheduled jobs within the Medusa Backend, a plugin, or a custom module.

<DocCard item={{
  type: 'link',
  href: '/development/scheduled-jobs/create',
  label: 'Create a Scheduled Job',
  customProps: {
    icon: Icons['academic-cap-solid'],
    description: 'Learn how to create a scheduled job.'
  }
}} />