Tagged articles
4 articles
Page 1 of 1
Java Captain
Java Captain
Apr 20, 2025 · Backend Development

Dynamic Adjustment of Scheduled Tasks in SpringBoot Using ThreadPoolTaskScheduler

This article explains how to dynamically modify the execution time of SpringBoot scheduled tasks by combining ScheduledTaskRegistrar with ThreadPoolTaskScheduler, decoupling business logic from triggers, and provides complete code examples for adding, updating, and removing tasks at runtime.

Backend DevelopmentDynamic SchedulingJava
0 likes · 9 min read
Dynamic Adjustment of Scheduled Tasks in SpringBoot Using ThreadPoolTaskScheduler
Java Captain
Java Captain
Jan 13, 2021 · Backend Development

Scheduled Email Sending with Spring Boot, JavaMail, and HttpClient

This tutorial demonstrates how to build a Spring Boot Maven project that fetches random sentences from an online API, configures JavaMail with POP3/SMTP credentials, and uses a scheduled task to automatically send emails, including deployment tips for Linux and Windows.

BackendEmailAutomationHttpClient
0 likes · 7 min read
Scheduled Email Sending with Spring Boot, JavaMail, and HttpClient