我已经使用 Beanstalk 成功部署了我的 Spring Boot 应用程序,但我注意到它没有运行我作为其中一部分的 @Scheduled 事件。
@Scheduled(cron = "0 30 * * * *")
public void getProperStudiesInTable() {
//some code to execute
}
我将 jar 文件部署在 Corretto 11 上,该实例在 64 位 Amazon Linux 2/3.0.1 上运行。任何关于我如何让它运行的建议都非常感谢!