Running code on a schedule can be very useful for many use cases. On AWS, the Eventbridge Scheduler is a good way to do this. Combining it will a Function as a Service solution like AWS Lambda means you can run almost any kind of business logic whenever you need for very minimal cost (if any). An example is below for checking cert expiration.

Eventbridge is a super useful service on AWS which includes being able to react to almost any AWS API call or state change using Eventbridge Rules, using Eventbridge Pipes to link together lots of a AWS services while enriching data, and the Scheduler which allows you to run recurring or 1-time actions with many AWS services.

This example from Tetiana Mostova shows how you can easily check for expiring certificates stored in AWS Secrets Manager on a schedule and then send messages to key people if it is getting close to time for a required rotation.