{"id":20227848,"url":"https://github.com/andrewpetrochenkov/launchd-exec","last_synced_at":"2026-05-14T21:33:08.481Z","repository":{"id":96220810,"uuid":"173170589","full_name":"andrewpetrochenkov/launchd-exec","owner":"andrewpetrochenkov","description":":rocket: execute script via launchd and log stdout, stderr","archived":false,"fork":false,"pushed_at":"2020-12-03T21:02:37.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-16T02:34:51.216Z","etag":null,"topics":["cli","exec","launchd","macos"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andrewpetrochenkov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2019-02-28T19:00:23.000Z","updated_at":"2023-02-15T19:35:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"a5df6a71-160d-4db0-af6c-4d474101acde","html_url":"https://github.com/andrewpetrochenkov/launchd-exec","commit_stats":null,"previous_names":["looking-for-a-job/launchd-exec","andrewpetrochenkov/launchd-exec","andrewp-as-is/launchd-exec"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/andrewpetrochenkov/launchd-exec","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewpetrochenkov%2Flaunchd-exec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewpetrochenkov%2Flaunchd-exec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewpetrochenkov%2Flaunchd-exec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewpetrochenkov%2Flaunchd-exec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andrewpetrochenkov","download_url":"https://codeload.github.com/andrewpetrochenkov/launchd-exec/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewpetrochenkov%2Flaunchd-exec/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33044117,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-14T02:00:06.663Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["cli","exec","launchd","macos"],"created_at":"2024-11-14T07:26:58.324Z","updated_at":"2026-05-14T21:33:08.466Z","avatar_url":"https://github.com/andrewpetrochenkov.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\nhttps://readme42.com\n--\u003e\n\n\n\n[![](https://img.shields.io/badge/OS-Unix-blue.svg?longCache=True)]()\n[![](https://img.shields.io/pypi/v/launchd-exec.svg?maxAge=3600)](https://pypi.org/project/launchd-exec/)\n[![](https://img.shields.io/npm/v/launchd-exec.svg?maxAge=3600)](https://www.npmjs.com/package/launchd-exec)[![](https://img.shields.io/badge/License-Unlicense-blue.svg?longCache=True)](https://unlicense.org/)\n[![](https://github.com/andrewp-as-is/launchd-exec/workflows/tests42/badge.svg)](https://github.com/andrewp-as-is/launchd-exec/actions)\n\n### Installation\n```bash\n$ [sudo] pip install launchd-exec\n```\n\n```bash\n$ [sudo] npm i -g launchd-exec\n```\n\n#### Examples\n```bash\n$ launchd-exec bash -l path/to/script.sh\nlaunchd-exec.\u003chash\u003e # label\n\n$ pid=\"$(/bin/launchctl list | grep \"$label\" | awk '{print $1}')\"\n```\n\nlogs:\n```\n~/Library/Logs/launchd-exec/\u003chash\u003e/out.log\n~/Library/Logs/launchd-exec/\u003chash\u003e/err.log\n~/Library/Logs/launchd-exec/\u003chash\u003e/launchd.plist\n```\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://readme42.com/\"\u003ereadme42.com\u003c/a\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewpetrochenkov%2Flaunchd-exec","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewpetrochenkov%2Flaunchd-exec","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewpetrochenkov%2Flaunchd-exec/lists"}