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.5.tar.gz (13.6 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.5-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: checkcrontab-0.0.5.tar.gz
  • Upload date:
  • Size: 13.6 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.5.tar.gz
Algorithm Hash digest
SHA256 c567ae17f1a97eff4ac0d61129af136b3794f727267fc1fd764dd6c39c48c5c2
MD5 3f67979fbf4fe1f7ea4b147a2168ee6b
BLAKE2b-256 cd9ecc6880076651f1ac78496b23d154e77a858138d960313f99755796eba064

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: checkcrontab-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 13.9 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 580f1d4cab8d71f7e0a7f876a39244d587b7b22819f2d0740eb1f4e91a138adc
MD5 f5e28a36b6a53d4d23f659d8424b9c13
BLAKE2b-256 5531cdb991c815572d3cfbb28302752d3ebdb14cae089c88d0456159edd9a65e

See more details on using hashes here.

Provenance

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