{"repo":"Coreoz/Wisp","free":true,"listed":false,"github":"https://github.com/Coreoz/Wisp","clone":"git clone https://github.com/Coreoz/Wisp.git","description":"A simple Java Scheduler library with a minimal footprint and a straightforward API","language":"Java","stars":148,"topics":["wisp","scheduler","java-scheduler","cron","java","periodic-tasks","schedule","periodic-jobs","job-scheduler"],"license":"Apache-2.0","category":"workflow-automation","readme_excerpt":"Wisp Scheduler ============== Wisp is a library for managing the execution of recurring Java jobs. It works like the Java class ScheduledThreadPoolExecutor , but it comes with some advanced features: - Jobs can be scheduled to run according to: a fixed hour (e.g. 00:30), a CRON expression, or a custom code-based expression, - Statistics about each job execution can be retrieved, - A too long jobs detection mechanism can be configured, - The thread pool can be configured to scale down when there is less jobs to execute concurrently. Wisp weighs only 30Kb and has zero dependency except SLF4J for logging. It will try to only create threads that will be used: if one thread is enough to run all the jobs, then only one thread will be created. A second thread will generally be created only when 2 jobs have to run at the same time. The scheduler precision will depend on the system load. Though a job will never be executed early, it will generally run after 1ms of the scheduled time. Wisp is compatible with Java 8 and higher. Getting started --------------- Include Wisp in your project: Schedule a job: Done! A project should generally contain only one instance of a Scheduler . So either a dependency injection framework handles this instance, or either a static instance of Scheduler should be created. In production, it is generally a good practice to configure the monitor for long running jobs detection . Changelog and upgrade instructions ---------------------------------- All the cha","default_branch":null,"files":null,"tree":[],"storefront":"/r/Coreoz","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Coreoz/Wisp/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}