Tymo Logo

Lightweight Java Scheduling Framework

Powerful Scheduling Made Simple

Annotation-based task scheduling with high availability support. Perfect for distributed applications that need reliable job execution.

๐Ÿš€

Simple Annotations

Use @ScheduledTask and @Job annotations to define scheduled tasks with minimal code. No complex configurations required.

๐Ÿ”’

High Availability

Database-based locking ensures tasks run on only one instance in distributed environments. Perfect for clustered deployments.

๐Ÿงต

Thread Pools

Flexible thread pool management with custom pool names and configurations. Optimize performance for different task types.

๐Ÿ“ฆ

Executable JAR

Build and deploy as a standalone executable JAR with all dependencies included. Easy deployment and distribution.

Quick Start

1. Add to your project

<dependency> <groupId>io.cooligc</groupId> <artifactId>tymo</artifactId> <version>1.0.0</version> </dependency>

2. Create a scheduled task

import io.cooligc.tymo.Job; import io.cooligc.tymo.ScheduledTask; @Job public class MyTasks { @ScheduledTask(fixedDelay = 5000) public void myTask() { System.out.println("Task executed!"); } }

3. Run the scheduler

SchedulerService scheduler = new SchedulerService(); scheduler.start(); scheduler.registerJobs();

4. Build from source

$ mvn clean package

Documentation

/Users/cooligc/Documents/codes/scheduler-ha/docs/index.html