Giter Site home page Giter Site logo

scriptotron's Introduction

What is Script-O-tron?

It's a configurable script runner that can also notify you when you have errors or warnings.

Why?

Sometimes I need to execute long running scripts, but I dont want to be in front of my computer for hours at a time staring at the screen. At the same time, I don't want to have to litter my code with custom calls to raygun or rollbar or another monitoring service to be notified of crashes. I want a script runner which can do all of the above for me with no code changes whatsoever.

How does it work?

Script-O-tron takes a configuration file config.toml which it parses for properties like command, logfile name and connection properties to gmail and twilio to send notifications. An example .toml file can be found at https://github.com/dmanjunath/script-O-tron/blob/master/example.toml

How do I install and run it?

You can download the pre built packages from the releases section, or you can get the latest build from the bin/ folder. If you want to build the project yourself, just run

go build

To run, rename the example.toml to config.toml, and in the same folder level as config.toml run:

./bin/scriptotron

What if Gmail isn't working?

In order to use gmail to send emails, you need to change the configuration to allow less secure apps here https://myaccount.google.com/lesssecureapps

scriptotron's People

Contributors

dmanjunath avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.