Skip to main content

A Python3 script for checking syntax and correctness of crontab files

Project description

Checkcrontab - Crontab File Validator

CI PyPI Python

A Python script for checking syntax and correctness of crontab files in Linux/Unix systems.

Translations: Русский | 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
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.0.tar.gz (10.8 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.0-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: checkcrontab-0.0.0.tar.gz
  • Upload date:
  • Size: 10.8 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.0.tar.gz
Algorithm Hash digest
SHA256 0a3b690e0185987f4f4b5f93b58a909edd60fe8c64c20823791004ad7930f531
MD5 dd08cc96aa958572283c058c75e8b00b
BLAKE2b-256 067a0ec3001a02e9eb1d91aefe2330134aa316ba1a8686a99efeba10c2b50e47

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: checkcrontab-0.0.0-py3-none-any.whl
  • Upload date:
  • Size: 10.3 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f01a7a08bdd360697d49838c9381c6257e31b0b4ae7c1442b44f3e851518b6f4
MD5 a93df4b391e8a109e27cee631a021a29
BLAKE2b-256 75844900a3afdbafd99a3ad150010390abca1102b043fb00dbb16e0923c810c3

See more details on using hashes here.

Provenance

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