I've created one spring boot application and defined one scheduled task to be executed after every hour (0 * * * * ?). Packaging is war. It is working perfectly fine on the local host. Now when deploying this application war on Elastic Beanstalk (Web Server Environment), I can call APIs however, it seems the scheduled task is not getting triggered.
What am I doing wrong?