GithubHelp home page GithubHelp logo

codeclown / cronedit Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 31 KB

an interactive command line editor for crontab

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

Makefile 1.15% C++ 98.65% C 0.20%

cronedit's Introduction

cronedit

an interactive command line editor for crontab

$ cronedit
1 |
2 | # https://stackoverflow.com/a/5823331/239527
3 | SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.WvQxE0oPYh/Listeners
4 | >  0  */6  *  *  *  bash /asd/backup.sh >/asd/backup.log 2>&1
5 | #  *  *    *  *  *  bash /tools/wip/todo.sh
6 |
cronedit   <arrow keys> move   <s> save and quit   <q> quit   <enter> edit minute
           <n> new   <c> comment    <d> duplicate   <r> remove

This project is in BETA!

Note that this is an early version of cronedit. Versions 0.X.X should be considered beta versions and probably not suited for use in critical production environments. Recommended for use only in testing environments.

If you want to be extra safe, or just play around, copy crontab contents into a file and edit that file with cronedit:

# copy crontab contents to .txt file
crontab -l > foobar.txt
# edit that file via cronedit
./cronedit foobar.txt

Download

For MacOS:

curl -L -o cronedit https://github.com/codeclown/cronedit/releases/download/v0.2.0/cronedit-macos

For Linux:

curl -L -o cronedit https://github.com/codeclown/cronedit/releases/download/v0.2.0/cronedit-linux

All pre-built binaries are available under Releases.

Usage

$ cronedit --help
cronedit v0.2.0

Usage:
  ./bin/cronedit
  ./bin/cronedit <file>

Arguments:
  file            If given, this file is read and written to
                  instead of modifying crontab directly via
                  the 'crontab' command

Options:
  -h, --help      Show this help message
  -v, --version   Show cronedit version

Information about backups:
  Upon saving changes, previous crontab version is backed up
  into folder '$HOME/.cronedit'.

Source:
  This program is open source and available at:
  https://github.com/codeclown/cronedit

Development

See DEVELOPMENT.md.

License

Released under 3-clause BSD License, see LICENSE.md.

cronedit's People

Contributors

codeclown avatar

Watchers

 avatar  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.