Skip to main content

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.

PyPI version License: MIT

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

License

MIT — see 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

dargslan_systemd_timer-1.0.0.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dargslan_systemd_timer-1.0.0-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

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

Hashes for dargslan_systemd_timer-1.0.0.tar.gz
Algorithm Hash digest
SHA256 bd6fee1d6d2738f95d1c6ac539ca1db3d1aa6f4b90038deac0a9539c102ab4c7
MD5 3a219d92f59d96cf14fe1c38787f4892
BLAKE2b-256 563d938daa83ed72bbd486b1153861c4cc3406a76ee73098e556482525fe2abe

See more details on using hashes here.

File details

Details for the file dargslan_systemd_timer-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for dargslan_systemd_timer-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0460592f1ede4b86b7700d3a64df63d15714517020aabb8784922956151f2984
MD5 f5b4d65cca65cf197716415449b022ab
BLAKE2b-256 0463e52d4914b5ef8012e74b02e80f36b7d56a6c82e7a8e8284813935d0d7e56

See more details on using hashes here.

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