Skip to main content

A Python3 script for checking syntax and correctness of crontab files

Project description

Checkcrontab - check syntax in crontab files

CI PyPI Python

A Python script for checking syntax of crontab files in Linux.

English | Español | Português | Français | Deutsch | Italiano | Русский | 中文 | 日本語 | हिन्दी

Requirements

  • Python 3.7 or higher
  • Linux/Unix system with systemctl
  • Read access to /etc/crontab

Installation

pip3 install checkcrontab

Or from GitHub:

pip3 install git+https://github.com/wachawo/checkcrontab.git

Usage

# Check system crontab
checkcrontab

# Check crontab file
checkcrontab /etc/crontab

# Check user crontab
checkcrontab username

# Show help
checkcrontab --help

Development Tools

pip3 install pre-commit flake8 pytest mypy ruff
pre-commit install
pre-commit run --all-files
pre-commit autoupdate

License

MIT License

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

checkcrontab-0.0.3.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

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

checkcrontab-0.0.3-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

Details for the file checkcrontab-0.0.3.tar.gz.

File metadata

  • Download URL: checkcrontab-0.0.3.tar.gz
  • Upload date:
  • Size: 12.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for checkcrontab-0.0.3.tar.gz
Algorithm Hash digest
SHA256 0fec0065dd6048624d253d41bb3f51e550296aa9695c6c317eee5ee4dc86e56c
MD5 cf1f6eddcda362c6867bf4938de4dd48
BLAKE2b-256 1bc30c0755c6735cb0b712dd216a12a3e69f64eacf13a6e74099d622c19af3b9

See more details on using hashes here.

Provenance

The following attestation bundles were made for checkcrontab-0.0.3.tar.gz:

Publisher: publish.yml on wachawo/checkcrontab

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file checkcrontab-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: checkcrontab-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 12.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for checkcrontab-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 09ecfc8350d9272a9123bf0e0f9a8a694482cd1ade75d83501cf2c6d4c5d1102
MD5 ccdecf2455a6efa63eab9d2f6c9fd74c
BLAKE2b-256 3f3b605a3946f35b2d8792ee65a135eda0b348535a2e8b0dd25a18f4f2fd92cf

See more details on using hashes here.

Provenance

The following attestation bundles were made for checkcrontab-0.0.3-py3-none-any.whl:

Publisher: publish.yml on wachawo/checkcrontab

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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