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
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.2.tar.gz (11.7 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.2-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: checkcrontab-0.0.2.tar.gz
  • Upload date:
  • Size: 11.7 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.2.tar.gz
Algorithm Hash digest
SHA256 f1bf55983251e024a0267c0eb6246ba70f9abd95cbb8f6d542df7e541535e730
MD5 8824d1b1dbbfded128e68bb4435809f0
BLAKE2b-256 2d511d70d1dd698eeaac4a36cece5901b77f3d1e83cee1c61f7d484273121028

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: checkcrontab-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 12.1 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 299e2b3d82f3ecaffa5cdb1428cee260a685455a861f9bc492b53178decddab9
MD5 a1f1565daa39a9617fe8630941a4d86c
BLAKE2b-256 6e0b4e080cb46188b1ae85b7d8ce0a5b62a82cae723eb6990cd729c793f57ddb

See more details on using hashes here.

Provenance

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