DEV Community

0 seconds of 3 minutes, 9 secondsVolume 90%
Press shift question mark to access a list of keyboard shortcuts
00:00
00:00
03:09
 
Nader Dabit for AWS

Posted on

37 14

Serverless Cron Jobs & Scheduled Events with AWS Lambda

Have you ever wondered how you would schedule something like a cron job or scheduled event when working with a serverless application?

This is one of the most asked questions I get when teaching serverless application development. In this video, you'll learn how to quickly add a scheduled event or cron job to an existing Lambda function, and if you've not deployed a function yet, you'll also learn how to do so using AWS Amplify.

Top comments (4)

Collapse
 
ale_annini profile image
Alessandro Annini

I am scheduling a step-function that runs my lambda because I read that using directly a lambda with cloudwatch could lead to occasional delays, can you confirm this?

Collapse
 
ionline247 profile image
Matthew Bramer

Where did you read this?

Collapse
 
ale_annini profile image
Alessandro Annini

As a matter of fact I think I confused CloudWatch documentation that clearly states that the precision is 1 minute with DynamoDB TTL feature that is a completely different story.
Mistery solved! :)

Collapse
 
topitguy profile image
Pankaj Sharma

Thank you for that Nader

Cloudinary image

Optimize, customize, deliver, manage and analyze your images.

Remove background in all your web images at the same time, use outpainting to expand images with matching content, remove objects via open-set object detection and fill, recolor, crop, resize... Discover these and hundreds more ways to manage your web images and videos on a scale.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay