I am current developing an application based on Spring-Boot.
I know that annotation like @Scheduled can schedule tasks. Since users in my application wanna send mails at different time and send only once.
I have already read the post Spring scheduling task - run only once, but it is weird always "new" an localExecutor in a Spring based application.
In that way , once a user schedule sending an email, I have to "new" an localExecutor for his task.
So , are there any better ways?