{"id":19243473,"url":"https://github.com/bootique/bootique-job","last_synced_at":"2025-04-21T09:33:07.898Z","repository":{"id":38800890,"uuid":"47810463","full_name":"bootique/bootique-job","owner":"bootique","description":"Provides a job execution framework with Bootique integration","archived":false,"fork":false,"pushed_at":"2025-04-19T13:23:02.000Z","size":1032,"stargazers_count":7,"open_issues_count":5,"forks_count":13,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-04-19T18:03:36.929Z","etag":null,"topics":["bootique","java","job-scheduler","jobs"],"latest_commit_sha":null,"homepage":"https://bootique.io","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/bootique.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2015-12-11T06:54:16.000Z","updated_at":"2025-04-19T13:23:06.000Z","dependencies_parsed_at":"2023-12-05T01:40:57.135Z","dependency_job_id":"d7aa92fe-c7f9-42be-839e-0dc0d7885e03","html_url":"https://github.com/bootique/bootique-job","commit_stats":null,"previous_names":["nhl/bootique-job"],"tags_count":29,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bootique%2Fbootique-job","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bootique%2Fbootique-job/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bootique%2Fbootique-job/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bootique%2Fbootique-job/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bootique","download_url":"https://codeload.github.com/bootique/bootique-job/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250032330,"owners_count":21363820,"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":["bootique","java","job-scheduler","jobs"],"created_at":"2024-11-09T17:18:08.981Z","updated_at":"2025-04-21T09:33:02.877Z","avatar_url":"https://github.com/bootique.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\n  Licensed to ObjectStyle LLC under one\n  or more contributor license agreements.  See the NOTICE file\n  distributed with this work for additional information\n  regarding copyright ownership.  The ObjectStyle LLC licenses\n  this file to you under the Apache License, Version 2.0 (the\n  \"License\"); you may not use this file except in compliance\n  with the License.  You may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing,\n  software distributed under the License is distributed on an\n  \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n  KIND, either express or implied.  See the License for the\n  specific language governing permissions and limitations\n  under the License.\n  --\u003e\n\n[![build test deploy](https://github.com/bootique/bootique-job/actions/workflows/maven.yml/badge.svg)](https://github.com/bootique/bootique-job/actions/workflows/maven.yml)\n[![Maven Central](https://img.shields.io/maven-central/v/io.bootique.job/bootique-job.svg?colorB=brightgreen)](https://search.maven.org/artifact/io.bootique.job/bootique-job/)\n\n# bootique-job\nProvides a job execution framework with [Bootique](http://bootique.io) integration. The framework includes a basic \nrunnable job definition with metadata and parameters, a job scheduler. It contains Bootique commands to list jobs, \nrun individual jobs, and schedule periodic job execution. Also includes a Zookeeper-based cluster locking facility \nfor jobs that should not be allowed to run concurrently.\n\nSee usage examples [here](https://github.com/bootique-examples/bootique-job-examples).\n\n## Commands\n\n### ListCommand\n\n`--list`\n\nList all configured jobs and their parameters and default parameter values.\n\n### ExecCommand\n \n`--exec --job=name [--job=name [...]] [--serial]`\n\nExecutes one or more jobs, possibly in parallel. The options have the following meaning:\n\n* **--job=_name_**: _name_ is either a job name or a job \"group\" name. Can optionally contain a JSON map \nof job parameters. E.g. `myjob{\"p\":1}`. Multiple `--job` arguments can be specified in order to run several jobs with a \nsingle command.\n* **--serial**: enforces sequential execution of jobs, in the same order that they are specified in the program arguments. \n* Does not have any effect, if only one `--job` argument has been specified.\n\nThis command implements a fail-fast behavior, when run in _serial_ mode. If there is more than one `--job` argument, \nand one of the jobs fails, the command terminates immediately, and the subsequent jobs are not executed.\n\nThe command exits with `0`, only if all the jobs completed normally. Otherwise, returns a non-zero exit code.\n\n### ScheduleCommand\n\n`--schedule`\n\nSchedules and executes jobs according to configuration. Waits indefinitely on the foreground.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbootique%2Fbootique-job","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbootique%2Fbootique-job","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbootique%2Fbootique-job/lists"}