A Python3 script for checking syntax and correctness of crontab files
Project description
Checkcrontab - Crontab File Validator
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0a3b690e0185987f4f4b5f93b58a909edd60fe8c64c20823791004ad7930f531
|
|
| MD5 |
dd08cc96aa958572283c058c75e8b00b
|
|
| BLAKE2b-256 |
067a0ec3001a02e9eb1d91aefe2330134aa316ba1a8686a99efeba10c2b50e47
|
Provenance
The following attestation bundles were made for checkcrontab-0.0.0.tar.gz:
Publisher:
publish.yml on wachawo/checkcrontab
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
checkcrontab-0.0.0.tar.gz -
Subject digest:
0a3b690e0185987f4f4b5f93b58a909edd60fe8c64c20823791004ad7930f531 - Sigstore transparency entry: 423150027
- Sigstore integration time:
-
Permalink:
wachawo/checkcrontab@00d80be71df57c016c8b4b928aa581ec4f4c479d -
Branch / Tag:
refs/tags/0.0.0 - Owner: https://github.com/wachawo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@00d80be71df57c016c8b4b928aa581ec4f4c479d -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f01a7a08bdd360697d49838c9381c6257e31b0b4ae7c1442b44f3e851518b6f4
|
|
| MD5 |
a93df4b391e8a109e27cee631a021a29
|
|
| BLAKE2b-256 |
75844900a3afdbafd99a3ad150010390abca1102b043fb00dbb16e0923c810c3
|
Provenance
The following attestation bundles were made for checkcrontab-0.0.0-py3-none-any.whl:
Publisher:
publish.yml on wachawo/checkcrontab
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
checkcrontab-0.0.0-py3-none-any.whl -
Subject digest:
f01a7a08bdd360697d49838c9381c6257e31b0b4ae7c1442b44f3e851518b6f4 - Sigstore transparency entry: 423150045
- Sigstore integration time:
-
Permalink:
wachawo/checkcrontab@00d80be71df57c016c8b4b928aa581ec4f4c479d -
Branch / Tag:
refs/tags/0.0.0 - Owner: https://github.com/wachawo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@00d80be71df57c016c8b4b928aa581ec4f4c479d -
Trigger Event:
push
-
Statement type: