Run multiple instances of the SAME cron job in Spring

Viewed 2962

I want to be able to run the SAME scheduled job in Spring. After searching on the Internet, I figured out how to run multiple different jobs at the same time.

I have a @Service annotated class which has only one method, annotated with @Scheduled. I want to have multiple instances of this job running at the same time.

I am not using Quartz or Spring Batch( I have seen a lot of examples with Spring Batch).

The documentation doesn't clearly say if this can be achieved.

1 Answers
Related