Spring Boot Service (Docker) using @Scheduled annotation

Is the expectation that public methods decorated with the @Scheduled annotation will work within a Spring Boot service running within Docker on the Render platform?

I recently moved this service over from Heroku, where the annotation worked without any issues. However, this functionality does not seem to be working with Render.

If this doesn’t work, do I need to expose the public method via a URI and call it via the Jobs functionality?

I had forgotten to include the @EnableScheduling annotation to my service.

Hopefully this info can help someone else in the future. :slight_smile:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.