Giter Club home page Giter Club logo

cronlock's Introduction

cronlock

bash script to prevent double running of crons under linux

This is the initial script. Not using it anywhere yet since its not 100% done yet.

Flock can do most of this, but its not easy to monitor and therefor not amazing to use.

This script has been tested in bash on Ubuntu and Debian. If it works on others, great, if not ... Let me know and I will see what I can do. But no promises.

Issues

If you see a problem with the script or if you see something i could improve. Then please create an issue and ill look into it. If you have a fix, then please submit it and I will look at it.

planned features

  • merging of check script and cronlock script. (a monitoring/icinga mode of the script to check on status of a cron)
  • examples of apply rules for icinga2
  • improving the code somewhat.

Maybe

  • If there is interest, I can look at including a docker container config or something.

License

Feel free to use the script, however a thank you or acknowledgement would be nice. See the LICENSE for this.

This repository has the MIT license with the small addition of what I call: Dont be an ass.

If you use this script to harass others, or in any way harm others ... please dont. If you wanna be an ass, write your own damn script.

cronlock's People

Contributors

dynosu avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 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.