> ## Content Index
> Fetch the complete content index at: https://blog.esadax.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# Cron Jobs
- URL: https://blog.esadax.com/en/cron-jobs-en/
- Published: 2026-11-15T04:21:13.000Z
- Updated: 2026-11-15T04:21:13.000Z
- Author: Esadax 
- Tags: #tr-platform-20-infrastructure-40-cron-jobs-cron-jobs, #en, #mdx-imported, Platform

Cron jobs are time-based scheduling tools used to automate repetitive tasks on Esadax. By using a specific syntax called a cron expression, you can define the frequency and timing of each task. This helps improve efficiency and ensures that important processes are performed consistently.

## What Are Cron Jobs?

Cron jobs are automated tasks that run at predefined times. They are widely used for tasks such as:

- **Backups and archiving**
- **Email and Slack notifications**
- **Updating subscription quantities**

Esadax supports cron jobs for both Serverless and Edge Functions, allowing you to automate tasks with ease.

## How Esadax Supports Cron Jobs

Esadax makes it simple to set up and manage cron jobs. You can add cron jobs through:

- `esadax.json`
- Build Output API

For example, an endpoint like `https://*.esadax.app/api/cron` can be used to trigger a cron job.

## Common Use Cases

1. **Automating Backups**
2. **Sending Email Notifications**
3. **Updating Subscription Quantities**
4. **Scheduling Social Media Updates**

## How to Add Cron Jobs

You can add cron jobs by defining them in your `esadax.json` file or using the Build Output API. Esadax supports the following cron expression format:

```
minute hour day_of_month month day_of_week

```

For example:

- `0 5 * * * *` triggers at 5 minutes past the hour.
- `* 5 * 5 * 5` triggers every minute on the 5th day of the month.

## Managing Cron Jobs

When managing cron jobs, consider:

- **Duration**: Define how often the job runs.
- **Error Handling**: Ensure tasks are retried if they fail.
- **Deployments**: Manage multiple environments with different schedules.
- **Concurrency Control**: Avoid overlapping tasks.

You can also run cron jobs locally for testing.

## Usage and Pricing

For detailed information on usage limits, pricing, and deployment options, visit the [Usage and Pricing](https://www.esadax.com/docs/cron-jobs/usage?ref=blog.esadax.com) page.

## Cron Job Templates

1. **Cron OG Cards**: A template for updating social media cards.
2. **Esadax Cron Job Example**: A Next.js app that updates data at different intervals.

Get started in minutes by following the [Quickstart guide](https://www.esadax.com/docs/cron-jobs/quickstart?ref=blog.esadax.com).

---