Skip to main content

Cron scheduler.

Project description

cronquot

PyPI version Build Status Code Climate Coverage Status Documentation Status

cronquot is a command/library for quoting cron execution.
You can create a list of cron scheduler with this tool. Only you should do is preparing your cron data.

Usage

Preparation

To run cronquot, you have to make directory and put cron files exported from crontab -l.
File names should server names like below.

$ tree
crontab/
├── server1
├── server2
└── web1

CUI

From command, you can use only one command.

# You can set start time and end time.
$ cronquot -s 20170201010000 -e 20170201020000 -d crontab

After this, result file will export as 'result.csv'.

Python sample source code

You can use this with only python2.7

from cronquot.cronquot import Cron

c = Cron(start='20170101000000',
         end='20170101101000')
for cc in c:
      print(cc)

Installation

$ pip install cronquot

Licence

  • MIT

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

cronquot-0.1.4.tar.gz (5.0 kB view details)

Uploaded Source

File details

Details for the file cronquot-0.1.4.tar.gz.

File metadata

  • Download URL: cronquot-0.1.4.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for cronquot-0.1.4.tar.gz
Algorithm Hash digest
SHA256 6914b0e3fff8f60a27c8f83686df44f4c4719d7b6fca62413063630f0d099f88
MD5 69f7906c27a2c034670da90068174d5b
BLAKE2b-256 c42029a35aa5fc1cdeace18ce4a39e805476b3c92c667807407d7d917f1f3897

See more details on using hashes here.

Supported by

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