{"id":21258647,"url":"https://github.com/praveen1664/python-database-notifier","last_synced_at":"2026-05-17T19:33:58.674Z","repository":{"id":218409731,"uuid":"528405095","full_name":"praveen1664/Python-Database-Notifier","owner":"praveen1664","description":"This is a tool to monitor your database","archived":false,"fork":false,"pushed_at":"2022-08-24T12:17:48.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-15T06:35:21.237Z","etag":null,"topics":["nosql","python","shell","sql"],"latest_commit_sha":null,"homepage":"","language":"Python","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/praveen1664.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":"2022-08-24T12:04:08.000Z","updated_at":"2022-08-24T14:13:56.000Z","dependencies_parsed_at":"2024-01-21T20:06:38.661Z","dependency_job_id":"d20f6bfb-a4a7-4d72-8c63-3bf2eb2ef7ea","html_url":"https://github.com/praveen1664/Python-Database-Notifier","commit_stats":null,"previous_names":["praveen1664/python-database-notifier"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/praveen1664/Python-Database-Notifier","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/praveen1664%2FPython-Database-Notifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/praveen1664%2FPython-Database-Notifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/praveen1664%2FPython-Database-Notifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/praveen1664%2FPython-Database-Notifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/praveen1664","download_url":"https://codeload.github.com/praveen1664/Python-Database-Notifier/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/praveen1664%2FPython-Database-Notifier/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274026705,"owners_count":25209739,"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-09-07T02:00:09.463Z","response_time":67,"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":["nosql","python","shell","sql"],"created_at":"2024-11-21T04:10:01.234Z","updated_at":"2026-05-17T19:33:53.644Z","avatar_url":"https://github.com/praveen1664.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"### What is this?\nWe can use this script to retrieve data from database, and set conditions to appropriately give alerts instead of manually checking database\n\nInstallation:\nRun Following:\n``\n\t\tpython3 -m pip install mysql-connector-python\n\t\tpython3 -m pip install pyyaml\n``\n\n## To run cron job on Mac:\n\n\t1. Give Cron Job to run automatically on Mac:\n\tFollow the steps here to update System Preferences \u003e Security \u0026 Privacy \u003e Privacy \u003e Full Disk Access \u003e Add Cron Path (/usr/sbin/cron)\n\thttps://blog.bejarano.io/fixing-cron-jobs-in-mojave/\n\t\n\t2. Run Following:\n\tcrontab -e\n\tThe above will open up cron scheduler, We can edit by clicking \"i\"\n\n\tBased on the frequency We want to run the script (take any command):\nReplace the PythonPath with where Wer python3 packages are installed, this is needed because in order for python3 to know Wer modules it needs to know the site-package path\n\t\n\tRun Every Minute:\n\t* * * * * PYTHONPATH=/usr/local/lib/python3.9/site-packages python3 /Users/praveen1664/Documents/DataCore/Code/Support/DatabaseCheck.py\n\t\n\tExit and save the file - Click Esc - \":wq\"\n\t\n\t3. If We run into errors, We can check cron job logs by going to following:\n\t/private/var/mail/\n\t\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpraveen1664%2Fpython-database-notifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpraveen1664%2Fpython-database-notifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpraveen1664%2Fpython-database-notifier/lists"}