Giter Site home page Giter Site logo

casperes1996 / cronx Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 10 KB

cronx is a quick way of executing commands from your crontab. It can execute all or specific line numbers as well as reading from the crontab

License: BSD 3-Clause "New" or "Revised" License

Swift 100.00%

cronx's Introduction

cronx

cronx allows you to run commands from your crontab immediately, both specific line numbers as well as any command in the crontab. It can also read out lines from the file, or the whole file with line numbers.
It's a simple program written in Swift. It is tested that it can be compiled and run on macOS as well as Ubuntu 20.04
Binary versions can be added by request but compiling it from source should be straightforward. Let me know if you want binary versions though.
Oh and don't judge the source code too hard ;). It was knocked out in one night since a friend could use a tool like this and it seemed like something good to make. Wasn't super worried about following all best practices.
EDIT: Linux Binary
Note that swift has a bug that prevents statically linking the libraries. Thus I've made a little install script that places the lib folder in the place the cronx binary expects. I only use Foundation in cronx, but the lib folder here is the entire lib folder from the swift project just cause that was easier to package up. You can clean it out yourself if you want, most of it is unnecessary for just cronx. And if you compile it yourself you can have it link to the same Foundation library all your other Swift code links to, to save space. But it's there for convenience if you don't mind wasting some megs :)
Also note that everything in the lib folder included from the swift project belongs to the swift group; visit them at <a href="https://www.swift.org>Swift.org

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.