{"id":13808101,"url":"https://github.com/NoEnv/vertx-cronutils","last_synced_at":"2025-05-14T02:31:12.399Z","repository":{"id":46079195,"uuid":"157881111","full_name":"NoEnv/vertx-cronutils","owner":"NoEnv","description":"An abstraction of cron-utils for the vertx scheduler","archived":false,"fork":false,"pushed_at":"2024-09-04T16:55:44.000Z","size":222,"stargazers_count":20,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-11-13T02:51:59.942Z","etag":null,"topics":["async","cron","extension","scheduler","timeout","timer","vertx"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NoEnv.png","metadata":{"files":{"readme":"README.adoc","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-11-16T14:49:52.000Z","updated_at":"2024-09-04T16:55:47.000Z","dependencies_parsed_at":"2024-01-03T02:25:33.148Z","dependency_job_id":"1e1df752-7028-4d52-bdcf-69404024fc31","html_url":"https://github.com/NoEnv/vertx-cronutils","commit_stats":null,"previous_names":[],"tags_count":69,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NoEnv%2Fvertx-cronutils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NoEnv%2Fvertx-cronutils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NoEnv%2Fvertx-cronutils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NoEnv%2Fvertx-cronutils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NoEnv","download_url":"https://codeload.github.com/NoEnv/vertx-cronutils/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225273212,"owners_count":17448071,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["async","cron","extension","scheduler","timeout","timer","vertx"],"created_at":"2024-08-04T01:01:35.074Z","updated_at":"2024-11-19T00:30:33.960Z","avatar_url":"https://github.com/NoEnv.png","language":"Java","funding_links":[],"categories":["Utilities"],"sub_categories":[],"readme":"image:https://github.com/NoEnv/vertx-cronutils/actions/workflows/ci.yml/badge.svg[\"Build Status\",link=\"https://github.com/NoEnv/vertx-cronutils/actions/workflows/ci.yml\"]\nimage:https://codecov.io/gh/NoEnv/vertx-cronutils/branch/main/graph/badge.svg[\"Code Coverage\",link=\"https://codecov.io/gh/NoEnv/vertx-cronutils\"]\nimage:https://badgen.net/maven/v/maven-central/com.noenv/vertx-cronutils[\"Maven Central\",link=\"https://search.maven.org/artifact/com.noenv/vertx-cronutils\"]\n\n= Vert.x-CronUtils\n\nVert.x-CronUtils is an implementation of the cron-utils library for Vert.x.\n\nThis module allows scheduling tasks with unix cron expressions.\n\n== Using Vert.x-CronUtils\n\nTo use the Vert.x Cron-Utils, add the following dependency to the _dependencies_ section of your build descriptor:\n\n* Maven (in your `pom.xml`):\n\n[source,xml,subs=\"+attributes\"]\n----\n\u003cdependency\u003e\n  \u003cgroupId\u003ecom.noenv\u003c/groupId\u003e\n  \u003cartifactId\u003evertx-cronutils\u003c/artifactId\u003e\n  \u003cversion\u003e4.5.11\u003c/version\u003e\n\u003c/dependency\u003e\n----\n\n* Gradle (in your `build.gradle` file):\n\n[source,groovy,subs=\"+attributes\"]\n----\ncompile 'com.noenv:vertx-cronutils:4.5.11'\n----\n\n== Creating a cron scheduler\n\nYou can create cron schedulers using the following flavours `Unix`, `Cron4j` and `Quartz`\n\n[source,java]\n----\nCronScheduler\n    .create(vertx, \"0/1 * * * * ?\", CronType.QUARTZ) //trigger every second\n    .schedule(s -\u003e\n        System.out.println(\"timer triggered\")\n    );\n----\n\n[source,java]\n----\nCronScheduler\n    .create(vertx, \"0 * * * * ?\") //trigger every minute\n    .schedule(s -\u003e {\n        s.cancel();\n        System.out.println(\"timer triggered and canceled\");\n    });\n----\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNoEnv%2Fvertx-cronutils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FNoEnv%2Fvertx-cronutils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNoEnv%2Fvertx-cronutils/lists"}