{"id":13446714,"url":"https://github.com/nicomt/ckron","last_synced_at":"2026-02-22T03:52:45.955Z","repository":{"id":42202498,"uuid":"298752813","full_name":"nicomt/ckron","owner":"nicomt","description":"🐋 A cron-like job scheduler for docker","archived":false,"fork":false,"pushed_at":"2026-02-15T17:58:14.000Z","size":863,"stargazers_count":56,"open_issues_count":21,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-16T00:39:34.926Z","etag":null,"topics":["cron","cronjob","docker","javascript","linux","nodejs","scheduler"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nicomt.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-09-26T06:31:31.000Z","updated_at":"2025-07-21T01:24:39.000Z","dependencies_parsed_at":"2024-01-22T08:31:33.891Z","dependency_job_id":"6176c377-25fc-4e90-ab51-0ed7cf20e058","html_url":"https://github.com/nicomt/ckron","commit_stats":{"total_commits":150,"total_committers":7,"mean_commits":"21.428571428571427","dds":0.4,"last_synced_commit":"5105c53f4039d4d1048192c030fbcb0aa479a526"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/nicomt/ckron","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicomt%2Fckron","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicomt%2Fckron/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicomt%2Fckron/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicomt%2Fckron/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nicomt","download_url":"https://codeload.github.com/nicomt/ckron/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicomt%2Fckron/sbom","scorecard":{"id":686246,"data":{"date":"2025-08-11","repo":{"name":"github.com/nicomt/ckron","commit":"7933a2ebaa53372f7fa4a1ca7a7a3625e6900fa3"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"name":"Maintained","score":4,"reason":"5 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 4","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 2/26 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/codeql-analysis.yml:1","Warn: no topLevel permission defined: .github/workflows/docker-publish.yml:1","Warn: no topLevel permission defined: .github/workflows/npm-publish.yml:1","Warn: no topLevel permission defined: .github/workflows/test.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: license.md:0","Info: FSF or OSI recognized license: ISC License: license.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Pinned-Dependencies","score":1,"reason":"dependency not pinned by hash detected -- score normalized to 1","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/nicomt/ckron/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/nicomt/ckron/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/nicomt/ckron/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/docker-publish.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/nicomt/ckron/docker-publish.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/docker-publish.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/nicomt/ckron/docker-publish.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/docker-publish.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/nicomt/ckron/docker-publish.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/docker-publish.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/nicomt/ckron/docker-publish.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/docker-publish.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/nicomt/ckron/docker-publish.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/docker-publish.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/nicomt/ckron/docker-publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npm-publish.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/nicomt/ckron/npm-publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npm-publish.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/nicomt/ckron/npm-publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/nicomt/ckron/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/nicomt/ckron/test.yml/master?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating node:20-alpine to node:20-alpine@sha256:df02558528d3d3d0d621f112e232611aecfee7cbc654f6b375765f72bb262799","Warn: containerImage not pinned by hash: test/fixtures/Dockerfile:1: pin your Docker image by updating busybox to busybox@sha256:ab33eacc8251e3807b85bb6dba570e4698c3998eca6f0fc2ccb60575a563ea74","Warn: containerImage not pinned by hash: test/fixtures/Dockerfile.1:1: pin your Docker image by updating busybox to busybox@sha256:ab33eacc8251e3807b85bb6dba570e4698c3998eca6f0fc2ccb60575a563ea74","Warn: containerImage not pinned by hash: test/fixtures/Dockerfile.2:1: pin your Docker image by updating busybox to busybox@sha256:ab33eacc8251e3807b85bb6dba570e4698c3998eca6f0fc2ccb60575a563ea74","Warn: containerImage not pinned by hash: test/fixtures/Dockerfile.3:1: pin your Docker image by updating busybox to busybox@sha256:ab33eacc8251e3807b85bb6dba570e4698c3998eca6f0fc2ccb60575a563ea74","Warn: npmCommand not pinned by hash: Dockerfile:8","Warn: npmCommand not pinned by hash: .github/workflows/test.yml:22","Info:   0 out of   8 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   5 third-party GitHubAction dependencies pinned","Info:   0 out of   5 containerImage dependencies pinned","Info:   2 out of   4 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"SAST","score":7,"reason":"SAST tool detected but not run on all commits","details":["Info: SAST configuration detected: CodeQL","Warn: 0 commits out of 7 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"11 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-8hc4-vh64-cxmj","Warn: Project is vulnerable to: GHSA-jr5f-v2jv-69x6","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-cxjh-pqwp-8mfp","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f5x3-32g6-xq36","Warn: Project is vulnerable to: GHSA-pq67-2wwv-3xjx","Warn: Project is vulnerable to: GHSA-8cj5-5rvv-wf4v"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-22T00:55:24.553Z","repository_id":42202498,"created_at":"2025-08-22T00:55:24.553Z","updated_at":"2025-08-22T00:55:24.553Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29704420,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-22T03:17:42.375Z","status":"ssl_error","status_checked_at":"2026-02-22T03:17:31.622Z","response_time":110,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["cron","cronjob","docker","javascript","linux","nodejs","scheduler"],"created_at":"2024-07-31T05:00:57.972Z","updated_at":"2026-02-22T03:52:45.935Z","avatar_url":"https://github.com/nicomt.png","language":"JavaScript","funding_links":[],"categories":["Docker Images","In-Container Tooling","docker"],"sub_categories":["Base Tools","Wrappers"],"readme":"# ckron\n\n\u003e A cron-style job scheduler for docker\n\n[![NPM Version](https://img.shields.io/npm/v/ckron)](https://www.npmjs.org/package/ckron)\n[![Test](https://github.com/nicomt/ckron/workflows/Test/badge.svg)](https://github.com/nicomt/ckron/actions)\n[![Docker Image Size](https://img.shields.io/docker/image-size/nicomt/ckron/latest)](https://hub.docker.com/r/nicomt/ckron)\n\n`ckron` is a versatile and straightforward tool to schedule operations on containerized applications.\n\n`ckron` is heavily inspired by [ofelia](https://github.com/mcuadros/ofelia) but attempts to improve on it by allowing multiple [tasks](#tasks) per `job`. Using `tasks`, you can compose complex workflows with a few off-the-shelf images and follow Docker's motto of one process per container.\n\n## Install\n\nIf you have Node installed:\n```\n$ npm i -g ckron\n```\nIf you only have Docker installed:\n```\n$ docker pull nicomt/ckron\n```\n\n## Usage\n\nIf you installed it in Node:\n```\n$ ckron daemon --config /path/to/config.yml\n```\nIf you installed it in Docker:\n```\n$ docker run --rm -it \\\n      -v $PWD/config.yml:/etc/ckron/config.yml \\\n      -v /var/run/docker.sock:/var/run/docker.sock \\\n      nicomt/ckron daemon\n```\n\n\u003e **_NOTE:_** For production is recommended to use docker with a [restart policy](https://docs.docker.com/config/containers/start-containers-automatically/) or create a service in something like [systemd](https://medium.com/@benmorel/creating-a-linux-service-with-systemd-611b5c8b91d6), upstart or [forever](https://www.npmjs.com/package/forever). A service will ensure the daemon is restarted in case of an unexpected failure\n\n\n## Configuration\nThe configuration consists of a YAML file, which is meant to have familiar `docker compose` like syntax. The main sections of the config file are the following:  \n\n### Tasks\nSingle operations that can be carried out by a job. Tasks currently supported are:\n\n  - `run`: Runs a command inside of a new container, using a specific image.\n  - `exec`: Runs a new command in a running container\n  - `signal`: Send a signal to the main process inside the container. Similar to `docker kill --signal`\n\nSee [tasks reference](docs/tasks.md) for more documentation\n\n### Jobs\nJobs are sets of tasks scheduled with a cron-like syntax. See [jobs reference](docs/jobs.md) for more documentation\n\n### Notifiers\nNotification channels for failed jobs. See [notifiers reference](docs/notifiers.md) for more documentation\n\n### YAML Full Example\n\nRun with `$ ckron daemon --config /path/to/config.yml` \n```yml\ntasks:\n  test-01:\n    type: run\n    command: printenv\n    environment:\n      HELLO: World\n    image: ubuntu:latest\njobs:\n  job-01:\n    schedule: \"*/30 * * * * *\"\n    on_error: [\"email-dev\"]\n    run_on_init: true\n    tasks:\n      - test-01\nnotifiers:\n  email-dev:\n    type: email\n    smtp_host: smtp.server.com\n    smtp_port: 25\n    smtp_auth:\n      user: XXXXXXX\n      pass: XXXXXXX\n    to: dev@example.com\n    from: '\"Ckron Scheduler\" \u003cckron@example.com\u003e'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicomt%2Fckron","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnicomt%2Fckron","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicomt%2Fckron/lists"}