> ## Documentation Index
> Fetch the complete documentation index at: https://docs.enterspeed.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Background tasks

Enterspeed is running two background tasks in Umbraco

## Umbraco 8

### HandleEnterspeedJobsHostedService Task

This task is handling all jobs that are "Pending".

This will usually be when all content has been Seeded.

This task will run every 60 seconds and will handle jobs in batches of 50 until there are no more Pending jobs.

**Note** that there will only be one task running at a time, which means that if a task is already handling pending jobs, a new task will not be created.

### InvalidateEnterspeedJobsHostedService Task

This task will change the state of jobs that has been "Processing" for more than 1 hour, to "Failed".

This is done to clean up the Jobs queue.

This task will run every 10 minutes.

## Umbraco 9+

### HandleEnterspeedJobs Task

This task is handling all jobs that are "Pending".

This will usually be when all content has been Seeded.

This task will run every 60 seconds and will handle jobs in batches of 50 until there are no more Pending jobs.

**Note** that there will only be one task running at a time, which means that if a task is already handling pending jobs, a new task will not be created.

### InvalidateEnterspeedJobs Task

This task will change the state of jobs that has been "Processing" for more than 1 hour, to "Failed".

This is done to clean up the Jobs queue.

This task will run every 10 minutes.
