Skip to main content

Generate a systemd unit.timer and unit.service pair

Project description

Systemd generator for timer units

Generates systemd .timer and .service units to more easily add cron-like tasks to your system.

After editing the units, the tool can install them for you: copy them into /etc/systemd/system or $HOME/.config/systemd/user (creating the directory if needed), run systemctl daemon-reload, and enable and start the timer. The install step is only offered when systemctl is available; otherwise the generated units are left in the current directory.

After editing, the tool checks the units with systemd-analyze verify (when that command is available), so syntax errors are caught before installation.

Usage

generate-systemd-timer unit-name
# Now two editors will pop up to allow you to customize
# Afterwards you'll find unit-name.service and unit-name.timer in the current folder.
# Finally, you'll be asked whether to install, reload and enable the timer.

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

generate_systemd_timer-2.1.2.tar.gz (35.5 kB view details)

Uploaded Source

Built Distribution

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

generate_systemd_timer-2.1.2-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file generate_systemd_timer-2.1.2.tar.gz.

File metadata

  • Download URL: generate_systemd_timer-2.1.2.tar.gz
  • Upload date:
  • Size: 35.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for generate_systemd_timer-2.1.2.tar.gz
Algorithm Hash digest
SHA256 0e8478d231b4221fa1f46c18428879e33e8b570802848cb784a4615c141b0e8e
MD5 786524800e09707589fbfb385348c6ab
BLAKE2b-256 30cf3b854195f0b13efde5be72e37e0db92e5b4d000b283e2f95cd442960f043

See more details on using hashes here.

Provenance

The following attestation bundles were made for generate_systemd_timer-2.1.2.tar.gz:

Publisher: main.yml on thomwiggers/systemd-timer-generator

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file generate_systemd_timer-2.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for generate_systemd_timer-2.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7ba32f066ab38ddeeb5de1b8bb7f52d368656c70be79259de4d78b959a68ff19
MD5 8a05094d49369b06c41484fdce9679e0
BLAKE2b-256 dc81b132048abf40a75a5eb53c73ff3301c086a5c9ec33965611c2fc3960e588

See more details on using hashes here.

Provenance

The following attestation bundles were made for generate_systemd_timer-2.1.2-py3-none-any.whl:

Publisher: main.yml on thomwiggers/systemd-timer-generator

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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