Backup, edit and install crontab
Project description
Crontip
Crontip is a tool uesd for backup and install of crontab.
Installation
You can install crontip by:
pip install crontip
(please use latest pip to install)
Layout
crontip
|- crontip.py
|- config.yaml
|- backup # store the backup of crontab
|- ready # store the crontab that ready to be install
Usage
Backup the Current Crontab
-
backup into default destination
crontip -b
orcrontip --backup
will backup the current crontab and save it into the backup_folder.
-
appointe the destination with
-o
crontip -b -o ./this_is_a_backup
save the backup into
./this_is_a_backup
Edit the Prepared Copy of Backup
crontip -e
or crontip --edit
The editing process automatically through two steps:
-
copy the latest backup into ready folder
cp backup/latest.bk ready/latest.bk
-
open file with vim
vim ready/latest.bk
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
crontip-0.0.3.tar.gz
(4.5 kB
view hashes)