Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 392 Bytes

README.md

File metadata and controls

12 lines (10 loc) · 392 Bytes

send-report

A quick script to run an sql query, parse the results into a csv and ship the file via the sendgrid API.

usage

$ ./send-report.py
usage: send-report.py [-h] [--host HOST] [--user USER] [--dbpass DBPASS]
                      [--db DB] [--port PORT] [--sender SENDER]
                      [--recipient RECIPIENT] [--subject SUBJECT]
                      queryfile