{"id":20777250,"url":"https://github.com/sharadcodes/herokuapp_pinger","last_synced_at":"2026-04-24T10:31:24.878Z","repository":{"id":122888942,"uuid":"229568527","full_name":"sharadcodes/herokuapp_pinger","owner":"sharadcodes","description":"A script to ping the heroku app dyno and prevent it  from sleeping, with the notification for linux distros for success and failure","archived":false,"fork":false,"pushed_at":"2020-10-01T06:10:50.000Z","size":30,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-25T22:31:43.451Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sharadcodes.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-12-22T13:00:47.000Z","updated_at":"2020-10-01T06:10:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"9ebb1e24-1032-405a-8fe0-356991e9d565","html_url":"https://github.com/sharadcodes/herokuapp_pinger","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sharadcodes/herokuapp_pinger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sharadcodes%2Fherokuapp_pinger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sharadcodes%2Fherokuapp_pinger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sharadcodes%2Fherokuapp_pinger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sharadcodes%2Fherokuapp_pinger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sharadcodes","download_url":"https://codeload.github.com/sharadcodes/herokuapp_pinger/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sharadcodes%2Fherokuapp_pinger/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32218912,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T10:26:35.452Z","status":"ssl_error","status_checked_at":"2026-04-24T10:25:27.643Z","response_time":64,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":[],"created_at":"2024-11-17T13:14:37.840Z","updated_at":"2026-04-24T10:31:24.861Z","avatar_url":"https://github.com/sharadcodes.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# herokuapp_pinger\nA script to ping the heroku app dyno and prevent it  from sleeping, with the notification for linux distros for success and failure\n\n\n\n# SETUP\n\n## Requirements\n\n* crontab\n* notify-send\n* curl\n\n## STEPS\n\n### First of all clone the repository or download it\n\nExtract the archive file and rename the folder from \n```bash\nherokuapp_pinger-master\n```\nto\n```bash\nherokuapp_pinger\n```\n\n#### Now follow the steps\n\n1. Place the repository folder inside the `home/${USER}/` directory.\n\n\tIt will look like:\n\t```bash\n\t/home/${USER}/herokuapp_pinger/\n\t```\n\t\n2. Open the script `pinger.sh` inside `herokuapp_pinger` folder with any text editor and replace the DUMMY_USER_NAME on the line 46 with your account name.\n\n2. Go inside the `herokuapp_pinger`\t folder and run\n\n\t```\n\tchmod +x pinger.sh \u0026\u0026 mkdir logs \u0026\u0026 mkdir csv_logs\n\t```\n\tThese two folders will be used to store logs.\n\t`csv_logs` folder will store logs in the form of CSV files and the `logs` folder will store them with `.log` extension\n\t\n\t\n3. Add the hosts to the `hosts_list.txt` file inside `herokuapp_pinger/script_data` folder.\n    \n    **Every host url should be on a new line**\n    \n    **NOTE: There should be a new empty line after the last host otherwise last entry in the file will not be read**\n    \n    **ALSO ANY NUMBER OF HOSTS CAN BE SPECIFIED IN THE `hosts_list.txt` file**\n\n4. Setup crontab like this: \n   ```bash\n   * * * * * /home/your_user_name/herokuapp_pinger/pinger.sh\n   ```\n   **You should change the crontab schedule according to your needs as \\* \\* \\* \\* \\* will run the script every minute**\n\n---\n\n## Your logs will be inside \n```bash\n/home/${USER}/herokuapp_pinger/logs/\n```\n### and\n```bash\n/home/${USER}/herokuapp_pinger/csv_logs/\n```\n\n---\n\n## SETUP FINISHED, ENJOY !\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsharadcodes%2Fherokuapp_pinger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsharadcodes%2Fherokuapp_pinger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsharadcodes%2Fherokuapp_pinger/lists"}