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.4.tar.gz (13.5 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.4-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: checkcrontab-0.0.4.tar.gz
  • Upload date:
  • Size: 13.5 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.4.tar.gz
Algorithm Hash digest
SHA256 31b80bfbfdffcdb088870276c4b76ae51031384650499566562e3d62d7406711
MD5 a05560f7e49fbce40c364dfbe20c4018
BLAKE2b-256 c0f8445a7d210bd4ae18f5faab73c6ccde8e61a74bcb85285dbb82c043cbf326

See more details on using hashes here.

Provenance

The following attestation bundles were made for checkcrontab-0.0.4.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.4-py3-none-any.whl.

File metadata

  • Download URL: checkcrontab-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 13.8 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 32eb3a444b94d8bf9aceebb514f67594a6e5778efd8e9fce10248ee1c3d6f242
MD5 f26a28ac241e20b194b0754a8ceff129
BLAKE2b-256 902e2f7622eedf0cb05270e21772325c308fbb5cb6b6f8d503861dce3252d76d

See more details on using hashes here.

Provenance

The following attestation bundles were made for checkcrontab-0.0.4-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