{"id":15700526,"url":"https://github.com/fornever/nightwatch","last_synced_at":"2026-02-19T02:28:53.061Z","repository":{"id":140632243,"uuid":"102956509","full_name":"ForNeVeR/nightwatch","owner":"ForNeVeR","description":"Stays alert while you sleep.","archived":false,"fork":false,"pushed_at":"2026-02-12T01:35:13.000Z","size":247,"stargazers_count":6,"open_issues_count":8,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-02-12T11:38:36.618Z","etag":null,"topics":["cross-platform","devops","monitoring"],"latest_commit_sha":null,"homepage":"https://fornever.github.io/nightwatch/","language":"F#","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/ForNeVeR.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-09-09T13:23:47.000Z","updated_at":"2026-02-12T01:35:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"1217e72a-bc70-4e86-ab6c-335fd4e1830b","html_url":"https://github.com/ForNeVeR/nightwatch","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/ForNeVeR/nightwatch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ForNeVeR%2Fnightwatch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ForNeVeR%2Fnightwatch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ForNeVeR%2Fnightwatch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ForNeVeR%2Fnightwatch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ForNeVeR","download_url":"https://codeload.github.com/ForNeVeR/nightwatch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ForNeVeR%2Fnightwatch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29600352,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T00:59:38.239Z","status":"ssl_error","status_checked_at":"2026-02-19T00:59:36.936Z","response_time":162,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cross-platform","devops","monitoring"],"created_at":"2024-10-03T19:49:31.509Z","updated_at":"2026-02-19T02:28:53.034Z","avatar_url":"https://github.com/ForNeVeR.png","language":"F#","readme":"Nightwatch [![Build (Travis)][badge-travis]][build-travis] [![Build (Appveyor)][badge-appveyor]][build-appveyor] [![Status Umbra][status-umbra]][andivionian-status-classifier]\n==========\n\nNightwatch is a monitoring service intedned to monitor daily and nightly\nactivities and notify the administrator if something wrong happens.\n\nBuild\n-----\n\n[.NET Core 2.1 SDK][net-core-sdk] is required to build the project.\n\n```console\n$ dotnet build\n```\n\nIf you need a standalone executable (useful for service deployment), then add\nthe following options:\n\n```console\n$ cd Nightwatch\n$ dotnet build --configuration Release --runtime win-x64 --output out\n```\n\nConfigure\n---------\n\nNightwatch could be configured by placing the `nightwatch.yml` file in the\ncurrent directory. You may also override the configuration file path by using\nthe command-line arguments, see the Run section of this document.\n\n`nightwatch.yml` has the following form:\n\n```yaml\nresource-directory: \"some/path\"\n```\n\nNightwatch searches the resource directory for the configuration files. At\nstart, it will recursively read all the `*.yml` files in the resource\ndirectory, and set them up as periodic tasks. Each configuration file describes\na _Resource_.\n\nCurrently supported resources are documented below.\n\n### Shell Resource\n\n```yaml\nversion: 0.0.1.0 # should always be 0.0.1.0 for the current version\nid: test # task identifier\nschedule: 00:05:00 # run every 5 minutes\ntype: shell\nparam:\n    cmd: ping localhost # check command\n```\n\n### HTTP Resource\n\n```yaml\nversion: 0.0.1.0 # should always be 0.0.1.0 for the current version\nid: test # task identifier\nschedule: 00:05:00 # run every 5 minutes\ntype: shell\nparam:\n    url: http://localhost:8080/ # URL to visit\n    ok-codes: 200, 304 # the list of the codes considered as a success\n```\n\nRun\n---\n\nIn developer mode:\n\n```console\n$ dotnet run --project Nightwatch\n```\n\nTo stop the program, press `Ctrl-C`.\n\nAdd `--config ./some/path.yml` option to set the configuration file path\n(`nightwatch.yml` in the current directory is the default).\n\nAdd `--service` to run in a Windows service mode.\n\nTo install the service on Windows, execute the following commands in your shell:\n\n```pwsh\n$ sc.exe Nightwatch binpath= \"D:\\Path\\To\\Nightwatch.exe --config D:\\Path\\To\\nightwatch.yml --service\" start= auto\n$ sc.exe start Nightwatch\n```\n\n_(note the space and quote placement, that's important)_\n\nTest\n----\n\n```console\n$ dotnet test Nightwatch.Tests\n```\n\nContributor documentation\n-------------------------\n\n- [Implementing a Resource type][implementing-a-resource-type]\n\n[implementing-a-resource-type]: docs/implementing-a-resource-type.md\n\n[andivionian-status-classifier]: https://github.com/ForNeVeR/andivionian-status-classifier#status-umbra-\n[build-appveyor]: https://ci.appveyor.com/project/ForNeVeR/nightwatch/branch/master\n[build-travis]: https://travis-ci.org/ForNeVeR/nightwatch\n[net-core-sdk]: https://www.microsoft.com/net/download/core#/sdk\n\n[badge-appveyor]: https://ci.appveyor.com/api/projects/status/6a2fla8atl7x0nhn/branch/master?svg=true\n[badge-travis]: https://travis-ci.org/ForNeVeR/nightwatch.svg?branch=master\n[status-umbra]: https://img.shields.io/badge/status-umbra-red.svg\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffornever%2Fnightwatch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffornever%2Fnightwatch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffornever%2Fnightwatch/lists"}