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 -borcrontip --backupwill backup the current crontab and save it into the backup_folder.
-
appointe the destination with
-ocrontip -b -o ./this_is_a_backupsave 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file crontip-0.0.3.tar.gz.
File metadata
- Download URL: crontip-0.0.3.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.9.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c46aeace2108ead833a9fa462f0ae5aaccbd76be3b2210c969c36d0757f2b7f0
|
|
| MD5 |
67089e5143b476d790368d10fdded6fe
|
|
| BLAKE2b-256 |
b0be292a07351b9aa81a1ff7300271c6b92a22e1fed7ed59922974f348ad5d11
|
File details
Details for the file crontip-0.0.3-py3-none-any.whl.
File metadata
- Download URL: crontip-0.0.3-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.9.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f06fa1e22598f10f68c08a5b00f2349679b64161a7f7357430df479e1a51a856
|
|
| MD5 |
0ad5f9f590ba98653ed6c33df958b187
|
|
| BLAKE2b-256 |
054e31078ffa3b29c5510d6eaf0de47b1fbe88e6377c6dc7745f9d3c73a85de6
|