Audit and analyze crontab entries, detect issues, and validate cron schedules on Linux
Project description
dargslan-cron-audit
Linux Crontab Auditor — Audit crontab entries, detect security issues, validate schedules, find misconfigurations. Zero external dependencies.
Installation
pip install dargslan-cron-audit
CLI Usage
dargslan-cron report # Full cron audit report
dargslan-cron list # List all cron entries
dargslan-cron issues # Show issues only
dargslan-cron json # JSON output
Python API
from dargslan_cron_audit import CronAudit
ca = CronAudit()
ca.print_report()
entries = ca.get_user_crontab()
sys_entries = ca.get_system_crontabs()
issues = ca.audit()
What It Checks
- Missing output redirection (cron mail accumulation)
- Commands pointing to non-existent paths
- High-frequency jobs (every minute)
- Root-running jobs
- Dangerous commands (rm -rf, chmod 777)
- Schedule validation
More Resources
License
MIT — Dargslan
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 dargslan_cron_audit-1.0.0.tar.gz.
File metadata
- Download URL: dargslan_cron_audit-1.0.0.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4908c9a2a9afc188e93ef9c3b6b20a74c4f7b9fd6532ddad31e9930f980d1a1c
|
|
| MD5 |
db7b60d3692bca843799783f0ba6c79d
|
|
| BLAKE2b-256 |
32203e7b77171cd8d3c1fa306ef6f593fc0b19007d40893820663b3d5caab5f4
|
File details
Details for the file dargslan_cron_audit-1.0.0-py3-none-any.whl.
File metadata
- Download URL: dargslan_cron_audit-1.0.0-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2150cf26a833305cdc8b25ea198e57b0db8efcab3b144abc77aa40613db7843a
|
|
| MD5 |
98196a40e43f0ed0d314df6cfd87f8c9
|
|
| BLAKE2b-256 |
58da2bf0c965f9e4169c0566b30535f2c63d54634c1e2ac6bf0bc55585ccd4ab
|