Reputation: 1
in my spring mvc application I need to notify users about their tasks and send them an email whenever the time limit is reached. How can I do that?
Upvotes: 0
Views: 2242
Reputation: 21411
@Scheduled(fixedDelay=..)
for occasional lookups or @Scheduled(cron=..)
for more intricate triggernow - timestamp
will be calculated to see whether it is breaching the configurable threshold
EmailService
takes over for user email lookup and email send operationsUpvotes: 1