Skip to main content

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

  1. backup into default destination

    crontip -b or crontip --backup

    will backup the current crontab and save it into the backup_folder.

  2. 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:

  1. copy the latest backup into ready folder cp backup/latest.bk ready/latest.bk

  2. open file with vim vim ready/latest.bk

Project details


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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

crontip-0.0.3-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

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

Hashes for crontip-0.0.3.tar.gz
Algorithm Hash digest
SHA256 c46aeace2108ead833a9fa462f0ae5aaccbd76be3b2210c969c36d0757f2b7f0
MD5 67089e5143b476d790368d10fdded6fe
BLAKE2b-256 b0be292a07351b9aa81a1ff7300271c6b92a22e1fed7ed59922974f348ad5d11

See more details on using hashes here.

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

Hashes for crontip-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f06fa1e22598f10f68c08a5b00f2349679b64161a7f7357430df479e1a51a856
MD5 0ad5f9f590ba98653ed6c33df958b187
BLAKE2b-256 054e31078ffa3b29c5510d6eaf0de47b1fbe88e6377c6dc7745f9d3c73a85de6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page