Spring Boot uses the following annotations to enable and configure scheduling:
@EnableScheduling: This annotation enables scheduling functionality in your Spring Boot application. It is typically placed on your main application class or a configuration class.
@Scheduled: This annotation is used to mark a method as a scheduled task. It supports several scheduling options, such as fixed-rate, fixed-delay, and cron expressions.