Warning
You're browsing the documentation for an old version of Webiny. Consider upgrading your project to Webiny 5.41.x.
Core Development Concepts > Background Tasks
About Background Tasks
You will learn about Background Tasks, how to create new definitions, how to trigger them and how to handle the task run.
Use with caution!
This feature is experimental and is subject to change in future releases.
Can I use this?
This feature is available since Webiny v5.39.0.
What you’ll learn
- what are Background Tasks
Overview
In the 5.39.0 version of Webiny we have introduced a Background Task feature.
This feature enables our users to run operations which take a long time to finish - more than available 15 minutes
maximum run time of the AWS Lambda.
The Background Task run limit is 1 year
, from the time when the task is triggered, which is the maximum execution time for the AWS Step Function
.
This functionality uses the AWS Event Bridge
, AWS Step Function
and AWS Lambda
.
AWS Services Used in the Background Tasks
To find out more about these services, please visit the following links:
Resumable Background Tasks
Currently, Background Tasks are not using the Task Token, so they are not resumable. We will be working on the solution for this in the future.