{"id":30120014,"url":"https://github.com/stakater/house-keeper","last_synced_at":"2025-08-10T12:52:47.093Z","repository":{"id":93166210,"uuid":"78208333","full_name":"stakater/house-keeper","owner":"stakater","description":"start \u0026 stop AWS servers | night watcher | night savings","archived":false,"fork":false,"pushed_at":"2024-05-01T17:20:42.000Z","size":25,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-05-02T12:10:34.354Z","etag":null,"topics":["autoscaling","aws","ec2","housekeeper","nightwatch","schedule","shutdown","stakater","startup"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/stakater.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":"2017-01-06T13:31:54.000Z","updated_at":"2020-08-09T21:17:19.000Z","dependencies_parsed_at":"2023-05-18T21:31:11.976Z","dependency_job_id":null,"html_url":"https://github.com/stakater/house-keeper","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/stakater/house-keeper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stakater%2Fhouse-keeper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stakater%2Fhouse-keeper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stakater%2Fhouse-keeper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stakater%2Fhouse-keeper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stakater","download_url":"https://codeload.github.com/stakater/house-keeper/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stakater%2Fhouse-keeper/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269727088,"owners_count":24465397,"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","status":"online","status_checked_at":"2025-08-10T02:00:08.965Z","response_time":71,"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":["autoscaling","aws","ec2","housekeeper","nightwatch","schedule","shutdown","stakater","startup"],"created_at":"2025-08-10T12:52:44.412Z","updated_at":"2025-08-10T12:52:47.063Z","avatar_url":"https://github.com/stakater.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# house-keeper\nA server that manages house keeping tasks like scheduling start and stop action for servers\n\nFor this first of all you need to create a repo where you will keep your schedule. A sample schedule file looks like this:\nNote there are 4 parts of each line separated by ';'. \n\u003cul\u003e\n\u003cli\u003eThe first part can have either start or stop.\u003c/li\u003e\n\u003cli\u003eThe second part is the instance name on which action is performed. We assume that the ASG uses the same name.\u003c/li\u003e\n\u003cli\u003eThe third part specifies the calendar event when this action is to be performed.\u003c/li\u003e\n\u003cli\u003eThe fourth part is the aws region in which instance is running on. It is optional and should be specified if the specified resource is in a different region than the one house-keeper is running on\u003c/li\u003e\n\u003c/ul\u003e\n\n```\nstop;my-stack-dev-worker;*-*-* 19:30:00 UTC;us-west-2\nstop;my-stack-dev-admiral;*-*-* 19:33:00 UTC\nstop;my-stack-dev-mysql;*-*-* 19:33:00 UTC\nstop;my-stack-dev-bastion-host;*-*-* 19:33:00 UTC\nstop;my-stack-ga-gocd;*-*-* 19:33:00 UTC\nstop;my-stack-dev-consul;*-*-* 19:33:00 UTC\nstop;my-stack-ga-etcd;*-*-* 19:35:00 UTC\nstart;my-stack-ga-etcd;*-*-* 3:47:00 UTC\nstart;my-stack-dev-consul;*-*-* 3:50:00 UTC\nstart;my-stack-ga-gocd;*-*-* 3:52:00 UTC\nstart;my-stack-dev-bastion-host;*-*-* 3:52:00 UTC\nstart;my-stack-dev-mysql;*-*-* 3:52:00 UTC\nstart;my-stack-dev-admiral;*-*-* 3:52:00 UTC\nstart;my-stack-dev-worker;*-*-* 3:55:00 UTC;us-west-2\n```\n\nYou can learn about calendar events used in this file at https://www.freedesktop.org/software/systemd/man/systemd.time.html#\n\nnote that you yourself have to take care of dependencies when starting or stopping a server.\ne.g etcd must stop after and start before gocd so we provide the scheduled times accordingly\n\nApart from this you need to provide your house keeper config repo link in your infrastructure reference repo.\nYou need to add your house keeper config repository link in house-keeper-user-data.yaml file\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstakater%2Fhouse-keeper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstakater%2Fhouse-keeper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstakater%2Fhouse-keeper/lists"}