Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 618 Bytes

README.md

File metadata and controls

20 lines (15 loc) · 618 Bytes

Python Mail Setup

TLDR; This is a projet to setup mail system to deliver to recipients when the row counts on a table in postgres is below threshold

Getting started

This project is based on Python3.6 and is built in a virtualenv

Software Requirements

All required libraries is available in the requirements.txt

USAGE

  • Download the whole project
  • Navigate to /bin
  • Type source activate
  • This will bring you into a virtualenv
  • Navigate to src/ The source code is inside here.
  • Change the variables to suit your requirements

Execute

To execute, just type python /src/row_count_status_mail.py