Metadata-Version: 2.4
Name: dargslan-systemd-timer
Version: 1.0.0
Summary: Systemd timer manager — list, audit, and monitor systemd timers as modern cron alternatives
Author-email: Dargslan <info@dargslan.com>
License: MIT
Project-URL: Homepage, https://dargslan.com
Project-URL: Documentation, https://dargslan.com/blog
Project-URL: Repository, https://github.com/Dargslan
Project-URL: Free Cheat Sheets, https://dargslan.com/cheat-sheets
Project-URL: Linux & DevOps Books, https://dargslan.com/books
Project-URL: Blog & Tutorials, https://dargslan.com/blog
Keywords: systemd,timer,cron,scheduler,automation,linux,sysadmin,devops
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: System :: Systems Administration
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# 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.

[![PyPI version](https://img.shields.io/pypi/v/dargslan-systemd-timer)](https://pypi.org/project/dargslan-systemd-timer/)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

## Installation

```bash
pip install dargslan-systemd-timer
```

## CLI Usage

```bash
# 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

```python
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](https://dargslan.com) — Linux & DevOps eBook Store
- [Free Cheat Sheets](https://dargslan.com/cheat-sheets) — 300+ downloadable PDFs
- [Blog & Tutorials](https://dargslan.com/blog) — 300+ in-depth articles
- [All Python Tools](https://pypi.org/user/dargslan/) — 20+ CLI packages

## License

MIT — see [LICENSE](LICENSE)
