Simple systemd timer generator

Use this generator to generate a systemd service and a corresponding timer:

Service name
Working directory
Command to run
Run interval (e.g. hourly, weekly, daily, minutely – see man systemd.time)
myservice.service
myservice.timer

How to install

  1. Download myservice.service and myservice.service by clicking on the blue download button
  2. sudo cp myservice.service myservice.timer /etc/systemd/system/
  3. sudo systemctl enable myservice.timer && sudo systemctl start myservice.timer

To view the latest logs, use sudo journalctl -xfu myservice.service

To view the current timer status, use sudo systemctl status myservice.timer

To view more info about the last run (triggered by timer or manually triggered), use sudo systemctl status myservice.service

To immediately run the service (once), use sudo systemctl start myservice.timer

Data protection notice: All the data used for generating the service is processed entirely client-side in the browser. The data is not even sent to our server, therefore providing complete privacy for your entries!