{"id":15517314,"url":"https://github.com/skx/run-directory","last_synced_at":"2025-10-27T18:37:21.360Z","repository":{"id":150430444,"uuid":"206523922","full_name":"skx/run-directory","owner":"skx","description":"A simple application inspired by `run-parts`.","archived":false,"fork":false,"pushed_at":"2019-10-24T06:07:35.000Z","size":11,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-02T23:14:33.224Z","etag":null,"topics":["cli","golang","run-parts","utility"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/skx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"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},"funding":{"github":"skx","custom":"https://steve.fi/donate/"}},"created_at":"2019-09-05T09:19:47.000Z","updated_at":"2023-01-10T19:23:58.000Z","dependencies_parsed_at":"2023-04-24T17:27:11.404Z","dependency_job_id":null,"html_url":"https://github.com/skx/run-directory","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skx%2Frun-directory","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skx%2Frun-directory/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skx%2Frun-directory/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skx%2Frun-directory/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skx","download_url":"https://codeload.github.com/skx/run-directory/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246093105,"owners_count":20722395,"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":["cli","golang","run-parts","utility"],"created_at":"2024-10-02T10:12:29.030Z","updated_at":"2025-10-27T18:37:16.323Z","avatar_url":"https://github.com/skx.png","language":"Go","funding_links":["https://github.com/sponsors/skx","https://steve.fi/donate/"],"categories":[],"sub_categories":[],"readme":"# run-directory\n\nThis project is a naive port of `run-parts` to golang.\n\n\n## About run-parts\n\n`run-parts` executes every (executable) file in a directory, in order, it is usually shipped with a system cron-package where it is used, but it is also a useful command which users can use in their own shell-scripts.  In the case of `cron` it is often used to execute a series of scripts, for example you might have a directory of files to be run every hour, and that could be achieved via :\n\n    $ run-parts /etc/cron.hourly/\n\n\n# Motivation\n\nThe Debian version of run-parts allows processing to terminate if one of the scripts fails, but unfortunately the CentOS version of `run-parts` doesn't support this ability.\n\n\n# Installation\n\nThere are two ways to install this project from source, which depend on the version of the [go](https://golang.org/) version you're using.\n\nIf you prefer you can fetch a binary from [our release page](https://github.com/skx/run-directory/releases).\n\n## Build without Go Modules (Go before 1.11)\n\n    go get -u github.com/skx/run-directory\n\n## Build with Go Modules (Go 1.11 or higher)\n\n    git clone https://github.com/skx/run-directory\n    cd run-directory\n    go install\n\n\n# Github Setup\n\nThis repository is configured to run tests upon every commit, and when pull-requests are created/updated.  The testing is carried out via [.github/run-tests.sh](.github/run-tests.sh) which is used by the [github-action-tester](https://github.com/skx/github-action-tester) action.\n\nReleases are automated in a similar fashion via [.github/build](.github/build), and the [github-action-publish-binaries](https://github.com/skx/github-action-publish-binaries) action.\n\n\n\nSteve\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskx%2Frun-directory","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskx%2Frun-directory","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskx%2Frun-directory/lists"}