{"id":50150029,"url":"https://github.com/just1689/pushover-cmd-daemon","last_synced_at":"2026-05-24T07:38:06.145Z","repository":{"id":57656070,"uuid":"455053749","full_name":"just1689/pushover-cmd-daemon","owner":"just1689","description":"Cron-based health check with Pushover alerts","archived":false,"fork":false,"pushed_at":"2022-05-24T13:53:50.000Z","size":31,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-06-20T06:31:06.058Z","etag":null,"topics":["cron","daemon","health-check","pushover"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/just1689.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-02-03T06:26:03.000Z","updated_at":"2023-03-08T03:25:13.000Z","dependencies_parsed_at":"2022-08-25T06:51:10.975Z","dependency_job_id":null,"html_url":"https://github.com/just1689/pushover-cmd-daemon","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/just1689/pushover-cmd-daemon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/just1689%2Fpushover-cmd-daemon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/just1689%2Fpushover-cmd-daemon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/just1689%2Fpushover-cmd-daemon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/just1689%2Fpushover-cmd-daemon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/just1689","download_url":"https://codeload.github.com/just1689/pushover-cmd-daemon/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/just1689%2Fpushover-cmd-daemon/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33426013,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-23T22:14:44.296Z","status":"online","status_checked_at":"2026-05-24T02:00:06.296Z","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":["cron","daemon","health-check","pushover"],"created_at":"2026-05-24T07:38:02.274Z","updated_at":"2026-05-24T07:38:06.140Z","avatar_url":"https://github.com/just1689.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pushover-cmd-daemon\n\n![Main status](https://github.com/just1689/pushover-cmd-daemon/actions/workflows/go.yml/badge.svg)\n\u003ca href=\"https://goreportcard.com/report/github.com/just1689/pushover-cmd-daemon\"\u003e\u003cimg src=\"https://goreportcard.com/badge/github.com/just1689/pushover-cmd-daemon\"\u003e\u003c/a\u003e\n\u003ca href=\"https://codebeat.co/projects/github-com-just1689-pushover-cmd-daemon-main\"\u003e\u003cimg alt=\"codebeat badge\" src=\"https://codebeat.co/badges/8dcd25bc-51d4-4624-9697-aa17fc58ce3b\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://codeclimate.com/github/just1689/pushover-cmd-daemon/maintainability\"\u003e\u003cimg src=\"https://api.codeclimate.com/v1/badges/0463e4ecba35fc60b3d7/maintainability\" /\u003e\u003c/a\u003e\n\nSimple background app that evaluates the result of executing a command \u0026amp; alerts via Pushover\n\n## Setup\n\nThis project uses github.com/robfig/cron for the cron. See cron docs\nhere: https://pkg.go.dev/github.com/robfig/cron?utm_source=godoc\n\n- To generate the config file just run the executable for the first time. It will generate a file `config.json`.\n- Run the binary in the same directory as `config.json`.\n\n## Config\n\nThe `config.json` contains the configuration for the app.\n\n```json\n{\n  \"cron\": \"@every 1h\",\n  \"cmd\": \"print\",\n  \"args\": [\n    \"1\"\n  ],\n  \"errorWords\": [\n    \"error\"\n  ],\n  \"msgTitle\": \"Error\",\n  \"msgBody\": \"Could not find 1 in result\",\n  \"msgPriority\": 0,\n  \"pushoverToken\": \"\u003cyour token here\u003e\",\n  \"pushoverRecipient\": \"\u003cyour recipient here\u003e\"\n}\n```\n\n## To do\n\n- [x] Config model\n- [x] Run CMD\n- [x] Setup cron\n- [x] Load result from CMD run\n- [x] Run error function\n- [x] If error func true, alert\n- [x] Call Pushover notification\n- [ ] Manage releases with Github Actions\n- [ ] Release binary for Linux, MacOS and Windows\n- [ ] Better logging strategy\n- [ ] Param for config file name.\n- [ ] Param for ANSI color logs\n- [ ] Timeouts, threading.\n- [ ] Watch for hanging and notify.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjust1689%2Fpushover-cmd-daemon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjust1689%2Fpushover-cmd-daemon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjust1689%2Fpushover-cmd-daemon/lists"}