{"id":23097060,"url":"https://github.com/alexcoder04/kangaroo","last_synced_at":"2025-04-03T20:15:43.322Z","repository":{"id":39699987,"uuid":"507139047","full_name":"alexcoder04/kangaroo","owner":"alexcoder04","description":"Run a command if signaled","archived":false,"fork":false,"pushed_at":"2023-01-02T11:49:56.000Z","size":26,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-09T08:23:41.508Z","etag":null,"topics":["command-line","command-line-tool","go","golang","interval","kangaroo","shell","signals"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alexcoder04.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}},"created_at":"2022-06-24T20:41:32.000Z","updated_at":"2022-11-26T16:12:55.000Z","dependencies_parsed_at":"2023-02-01T02:45:33.542Z","dependency_job_id":null,"html_url":"https://github.com/alexcoder04/kangaroo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexcoder04%2Fkangaroo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexcoder04%2Fkangaroo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexcoder04%2Fkangaroo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexcoder04%2Fkangaroo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexcoder04","download_url":"https://codeload.github.com/alexcoder04/kangaroo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247070927,"owners_count":20878586,"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":["command-line","command-line-tool","go","golang","interval","kangaroo","shell","signals"],"created_at":"2024-12-16T22:50:42.334Z","updated_at":"2025-04-03T20:15:43.282Z","avatar_url":"https://github.com/alexcoder04.png","language":"Go","readme":"\n# kangaroo\n\nRuns a command if signaled or in specific time intervals\n\n## Installation\n\n```sh\ngit clone https://github.com/alexcoder04/kangaroo.git\ncd kangaroo\n\n# build a binary and run it\ngo build .\n./kangaroo\n\n# install to your $GOPATH\ngo install .\n```\n\n## Usage\n\n### Execute on signal\n\n```sh\nkangaroo -signal 2 echo \"Hello World!\"\n```\n\nThis will execute `echo \"Hello World!\"` if kangaroo gets signaled with\n`SIGRTMIN+2`. If no signal number is passed, kangaroo assumes `1`. If you pass\n`0` as signal number, kangaroo will not listen at all.\n\n### Execute in time intervals\n\n```sh\nkangaroo -interval 3 echo \"Hello World!\"\n```\n\nThis will execute `echo \"Hello World!\"` every 3 seconds. If no number is passed,\nkangaroo will not execute your command periodically.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexcoder04%2Fkangaroo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexcoder04%2Fkangaroo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexcoder04%2Fkangaroo/lists"}