---
title: "Comment by Rakesh on \"How to Use cron Jobs to Schedule Your Lambda Functions with AWS CDK\" | Hashnode"
description: "did you tried to use EventBridge scheduler for job ? It&#39;s more flexible"
url: "https://hashnode.com/posts/how-to-use-cron-jobs-to-schedule-your-lambda-functions-with-aws-cdk/6439b6693522871750d783d3/comment/643cb750da81bbd26819885a"
---

[Discussion](https://hashnode.com/posts/how-to-use-cron-jobs-to-schedule-your-lambda-functions-with-aws-cdk/6439b6693522871750d783d3)

Comment [How to Use cron Jobs to Schedule Your Lambda Functions with AWS CDK](https://hashnode.com/posts/how-to-use-cron-jobs-to-schedule-your-lambda-functions-with-aws-cdk/6439b6693522871750d783d3)

[Rakesh](https://hashnode.com/@awsmantra)

[Apr 17, 2023](https://hashnode.com/posts/how-to-use-cron-jobs-to-schedule-your-lambda-functions-with-aws-cdk/6439b6693522871750d783d3/comment/643cb750da81bbd26819885a)

did you tried to use EventBridge scheduler for job ? It's more flexible

[Coner Murphy](https://hashnode.com/@conermurphy)

[Apr 17, 2023](https://hashnode.com/posts/how-to-use-cron-jobs-to-schedule-your-lambda-functions-with-aws-cdk/6439b6693522871750d783d3/comment/643cb750da81bbd26819885a#reply-643ce7d2f6c4d2d2989950e6)

I have done it previously with the EventBridge Scheduler and am planning on writing a separate blog post on using the scheduler for some more advanced use cases.

However, for something like scheduling a Lambda to run once per day at the same time or a recurring timeframe, I felt EventBridge Rules was a better fit because it's simpler to implement and also there are some restraints on the Scheduler still I believe:

1.  It's not fully implemented in the CDK so you'd need to use the SDK inside a Lambda function adding to the complexity
2.  It's only available in a small subset of regions where Rules are available in every region I believe.

Saying this I am still planning on doing a Scheduler post in the future, so keep an eye out for that. 😃

[Rakesh](https://hashnode.com/@awsmantra)

[Apr 17, 2023](https://hashnode.com/posts/how-to-use-cron-jobs-to-schedule-your-lambda-functions-with-aws-cdk/6439b6693522871750d783d3/comment/643cb750da81bbd26819885a#reply-643d50ff2fbf48da589e7194)

[Coner Murphy](https://hashnode.com/@conermurphy) Cool, thanks for your reply. check it out this blog post for EventBridge scheduler and CDK. I am not sure any specific constraint but this post may help you..

[awsmantra.com/eventbridge-schedule-to-step-functi…](https://awsmantra.com/eventbridge-schedule-to-step-functions-no-codeno-lambda)
