Skip to content

billykwooten/csvmonitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CSV Monitor

Monitors CSV for stuff

Requirements

  • Linux / MacOS / Windows
  • docker

Development

Configuration

Dark sky exporter can be controlled by both ENV or CLI flags as described below.

Environment CLI (--flag) Default Description
CSVLOC csv <REQUIRED> File path of the CSV file
SLACKHOOK slackhook <REQUIRED> Webhook URL for Slacks
CSVHOUR csvhour 8 Hour at which script will run
CSVMINUTE csvminute 0 Minute of the hour in which script will run

Usage

# Monitor CSV using binary
export LOG=*; ./csvmonitor --csv test.csv --slackhook https://hooks.slack.com/services/JIGJ42V99/BHDTFBH9P/K489FDQyPjlHVjU5492AjTWfQ

# Monitor CSV using docker
docker run -d --restart on-failure --env LOG=* --name=csvmonitor billykwooten/csvmonitor --csv test.csv --slackhook https://hooks.slack.com/services/JIGJ42V99/BHDTFBH9P/K489FDQyPjlHVjU5492AjTWfQ

About

Monitors CSV for stuff

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published