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:
- It's not fully implemented in the CDK so you'd need to use the SDK inside a Lambda function adding to the complexity
- 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. 😃