Systemd timer manager — list, audit, and monitor systemd timers as modern cron alternatives
Project description
dargslan-systemd-timer
Systemd Timer Manager — List, audit, and monitor systemd timers as modern cron alternatives. Compare timers with cron jobs and detect failed services. Zero external dependencies.
Installation
pip install dargslan-systemd-timer
CLI Usage
# Full timer report
dargslan-timer report
# List active timers
dargslan-timer list
# List all timers (including inactive)
dargslan-timer list --all
# Check for failed timer services
dargslan-timer failed
# Compare with cron jobs
dargslan-timer cron
# All issues
dargslan-timer issues
# JSON output
dargslan-timer json
Python API
from dargslan_systemd_timer import TimerManager
tm = TimerManager()
# List timers
timers = tm.list_timers(all_timers=True)
# Get timer details
status = tm.timer_status("apt-daily.timer")
# Check failed services
failed = tm.check_failed()
# Compare with cron
comparison = tm.compare_with_cron()
# Full audit
issues = tm.audit()
# Formatted report
tm.print_report()
Features
- List all active and inactive systemd timers
- Detect failed timer-triggered services
- Compare systemd timers with cron jobs
- Get detailed timer status and unit content
- Migration recommendations from cron to timers
- JSON and formatted report output
More from Dargslan
- Dargslan.com — Linux & DevOps eBook Store
- Free Cheat Sheets — 300+ downloadable PDFs
- Blog & Tutorials — 300+ in-depth articles
- All Python Tools — 20+ CLI packages
License
MIT — see 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 dargslan_systemd_timer-1.0.0.tar.gz.
File metadata
- Download URL: dargslan_systemd_timer-1.0.0.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bd6fee1d6d2738f95d1c6ac539ca1db3d1aa6f4b90038deac0a9539c102ab4c7
|
|
| MD5 |
3a219d92f59d96cf14fe1c38787f4892
|
|
| BLAKE2b-256 |
563d938daa83ed72bbd486b1153861c4cc3406a76ee73098e556482525fe2abe
|
File details
Details for the file dargslan_systemd_timer-1.0.0-py3-none-any.whl.
File metadata
- Download URL: dargslan_systemd_timer-1.0.0-py3-none-any.whl
- Upload date:
- Size: 6.3 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 |
0460592f1ede4b86b7700d3a64df63d15714517020aabb8784922956151f2984
|
|
| MD5 |
f5b4d65cca65cf197716415449b022ab
|
|
| BLAKE2b-256 |
0463e52d4914b5ef8012e74b02e80f36b7d56a6c82e7a8e8284813935d0d7e56
|