{"id":26684320,"url":"https://github.com/subscan-explorer/watch-logs-script","last_synced_at":"2025-10-13T01:32:41.422Z","repository":{"id":209568119,"uuid":"724407642","full_name":"subscan-explorer/watch-logs-script","owner":"subscan-explorer","description":null,"archived":false,"fork":false,"pushed_at":"2023-12-13T06:40:51.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-26T09:19:44.468Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/subscan-explorer.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}},"created_at":"2023-11-28T02:28:21.000Z","updated_at":"2023-11-28T02:43:13.000Z","dependencies_parsed_at":"2023-12-13T07:44:50.866Z","dependency_job_id":null,"html_url":"https://github.com/subscan-explorer/watch-logs-script","commit_stats":null,"previous_names":["subscan-explorer/watch-logs-script"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/subscan-explorer/watch-logs-script","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subscan-explorer%2Fwatch-logs-script","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subscan-explorer%2Fwatch-logs-script/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subscan-explorer%2Fwatch-logs-script/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subscan-explorer%2Fwatch-logs-script/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/subscan-explorer","download_url":"https://codeload.github.com/subscan-explorer/watch-logs-script/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subscan-explorer%2Fwatch-logs-script/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279013897,"owners_count":26085326,"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-10-12T02:00:06.719Z","response_time":53,"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":[],"created_at":"2025-03-26T09:19:47.558Z","updated_at":"2025-10-13T01:32:41.396Z","avatar_url":"https://github.com/subscan-explorer.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Validator Watch Script\n\nThis repository contains a script designed to execute a user-designed command, filter its output, and notify healthcheck.io with the results. The scripts in this repository are:\n\n* start.sh: An initialization script to setup cron job for the validator_watch.sh.\n* validator_watch.sh: A script designed to execute a user-design command, filter its output with grep and notify healthcheck.io if new logs appear.\n\n### Usage\n\n#### start.sh\nThis script sets up a cron job to execute the validator_watch.sh regularly. Run it with the following steps:\n* In terminal, navigate to the directory containing start.sh.\n* Run the script: ./start.sh.\n* The script will ask for your cron frequency, the command to watch, the grep parameter, and your healthcheck.io id.\n#### validator_watch.sh\nThis script is designed to execute a user-specified command, filter its output with grep, and notify healthcheck.io if new logs appear. It is generally meant to be used with a cron job set by the start.sh, and you don't have to run it manually. However, if you want to use it standalone, you can do so as follows:\n* Execute the script with: ./validator_watch.sh \"\u003ccommand\u003e\" \"\u003cgrep_parameter\u003e\" \"\u003chealthcheck_io_id\u003e\".\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubscan-explorer%2Fwatch-logs-script","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsubscan-explorer%2Fwatch-logs-script","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubscan-explorer%2Fwatch-logs-script/lists"}