Skip to content

codeclown/cronedit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

an interactive command line editor for crontab

Resources

License

Stars

Watchers

Forks

Packages

No packages published