<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: silenzzz</title>
    <description>The latest articles on DEV Community by silenzzz (@silenzzz).</description>
    <link>https://dev.to/silenzzz</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1297507%2Fc7f63635-aabc-45e3-93e4-2e213df3e00d.jpeg</url>
      <title>DEV Community: silenzzz</title>
      <link>https://dev.to/silenzzz</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/silenzzz"/>
    <language>en</language>
    <item>
      <title>I built a Spring Boot starter that exposes a REST API for your @Scheduled methods</title>
      <dc:creator>silenzzz</dc:creator>
      <pubDate>Wed, 13 May 2026 05:13:08 +0000</pubDate>
      <link>https://dev.to/silenzzz/i-built-a-spring-boot-starter-that-exposes-a-rest-api-for-your-scheduled-methods-4emf</link>
      <guid>https://dev.to/silenzzz/i-built-a-spring-boot-starter-that-exposes-a-rest-api-for-your-scheduled-methods-4emf</guid>
      <description>&lt;p&gt;If you've ever needed to manually trigger a &lt;code&gt;@Scheduled&lt;/code&gt; method in production without redeploying or adding one-off&lt;br&gt;
endpoints, this might be useful.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The problem&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I kept running into the same situation: a scheduled job needs to run right now — data sync is behind, a report needs&lt;br&gt;
regenerating, whatever. The options were never great:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Add a temporary REST endpoint, deploy, trigger, remove, redeploy&lt;/li&gt;
&lt;li&gt;SSH into the server and fiddle with the database&lt;/li&gt;
&lt;li&gt;Just wait for the next scheduled run&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;What I built&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;cronctl-spring-boot-starter&lt;/code&gt; — add the dependency, and every &lt;code&gt;@Scheduled&lt;/code&gt; method in your application gets automatically&lt;br&gt;
registered and exposed via REST:&lt;/p&gt;

&lt;p&gt;GET /api/cronctl/tasks → list all registered tasks with their schedule config&lt;br&gt;&lt;br&gt;
POST /api/cronctl/execute/{id} → manually trigger a task, get execution result&lt;/p&gt;

&lt;p&gt;Autoconfiguration handles everything. No annotations, no code changes to existing beans:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight java"&gt;&lt;code&gt;&lt;span class="nd"&gt;@Component&lt;/span&gt;
&lt;span class="kd"&gt;public&lt;/span&gt; &lt;span class="kd"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;MyScheduler&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;

    &lt;span class="nd"&gt;@Scheduled&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;cron&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s"&gt;"0 0 3 * * *"&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt;
    &lt;span class="kd"&gt;public&lt;/span&gt; &lt;span class="kt"&gt;void&lt;/span&gt; &lt;span class="nf"&gt;generateReport&lt;/span&gt;&lt;span class="o"&gt;()&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
        &lt;span class="c1"&gt;// this is now triggerable via POST /api/cronctl/execute/{id}                                                    &lt;/span&gt;
    &lt;span class="o"&gt;}&lt;/span&gt;
&lt;span class="o"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Swagger UI is included and shows the cronctl group alongside your existing API docs.&lt;/p&gt;

&lt;p&gt;Security is configurable — by default, everything is public for easy local development, you can require authentication per endpoint group.&lt;/p&gt;

&lt;p&gt;Stack: Spring Boot 4.x, Java 21, springdoc-openapi&lt;/p&gt;

&lt;p&gt;GitHub: &lt;a href="https://github.com/syntezis-ru/cronctl" rel="noopener noreferrer"&gt;https://github.com/syntezis-ru/cronctl&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Would love feedback — especially on the security configuration approach; I'm not sure if I've got the defaults right for a library&lt;/p&gt;

</description>
      <category>springboot</category>
      <category>java</category>
      <category>programming</category>
      <category>opensource</category>
    </item>
    <item>
      <title>Telegram bot with Camel &amp; Spring boot</title>
      <dc:creator>silenzzz</dc:creator>
      <pubDate>Thu, 04 Apr 2024 21:45:17 +0000</pubDate>
      <link>https://dev.to/silenzzz/telegram-bot-with-camel-spring-boot-420m</link>
      <guid>https://dev.to/silenzzz/telegram-bot-with-camel-spring-boot-420m</guid>
      <description>&lt;p&gt;This project serves as an example of using Apache Camel together with the Spring Boot framework to develop Telegram bots. Apache Camel is a powerful tool for integrating various systems, and Spring Boot simplifies the creation and configuration of Java applications.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/silenzzz/spring-camel-tgbot"&gt;https://github.com/silenzzz/spring-camel-tgbot&lt;/a&gt;&lt;br&gt;
&lt;a href="https://github.com/silenzzz/spring-camel-tgbot"&gt;https://github.com/silenzzz/spring-camel-tgbot&lt;/a&gt;&lt;br&gt;
&lt;a href="https://github.com/silenzzz/spring-camel-tgbot"&gt;https://github.com/silenzzz/spring-camel-tgbot&lt;/a&gt;&lt;/p&gt;

</description>
      <category>springboot</category>
      <category>java</category>
      <category>apachecamel</category>
      <category>telegram</category>
    </item>
    <item>
      <title>Java library for RuTracker</title>
      <dc:creator>silenzzz</dc:creator>
      <pubDate>Thu, 21 Mar 2024 23:08:37 +0000</pubDate>
      <link>https://dev.to/silenzzz/java-library-for-rutracker-3on</link>
      <guid>https://dev.to/silenzzz/java-library-for-rutracker-3on</guid>
      <description>&lt;h2&gt;
  
  
  RuTracker4j Library
&lt;/h2&gt;

&lt;p&gt;Written in Java.&lt;br&gt;
RuTracker4j simplifies the process of accessing RuTracker data, torrent search, obtain information about specific topics, etc.&lt;/p&gt;

&lt;h2&gt;
  
  
  Features:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Torrent Search&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Access Topic, Category, Attach, Torrent links, etc. Details&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Explore on GitHub: &lt;a href="https://github.com/silenzzz/RuTracker4j"&gt;RuTracker4j Repository&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I’m open to feedback and suggestions for enhancing functionality. Thanks.&lt;/p&gt;

</description>
      <category>java</category>
      <category>library</category>
      <category>torrent</category>
      <category>programming</category>
    </item>
  </channel>
</rss>
