Git Product home page Git Product logo

chronic's Introduction

chronic's People

Contributors

0x3333 avatar deepsourcebot avatar dependabot[bot] avatar docwhat avatar renovate-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

syllogy 0x3333

chronic's Issues

alternate notifications methods

Been using chucks script for some time. Works great.
Came across your repo.

The only notification option is email via that line in crontab but now that a go binary is at hand it would be cool to hook this not just to an email in crontab but allow notifications to other services like push safer, etc.

I'm not a go programmer (mostly node). If I had written this in node I would set up to tee to plugins like this https://www.npmjs.com/package/pushsafer-notifications. Most notification services have written their own package for node. Maybe for go as well?

[Feature Request] Command timeout

I know that this project is somewhat a replica of the awesome cronic tool. But I'd like to suggest a feature that would be greatly useful for me and possibly to others.

I use cron to start a ton of jobs, especially backup ones. In some rare cases, the process got stuck, or for problems on the filesystem, network, or whatever problem. Would be awesome to have an option to define a timeout for a command, which would kill the process(Using some methods specified by the command line arguments) and the output would be sent by cron to the root email.

If this makes sense, I'd be happy to implement it and push a PR.

Add debug flag

When chronic fails, we simply get error 1

It would be nice to be able to set debug mode when run

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.