Systemctl --user enable unit.timer does not start after reboot

For the timer the install should be timers.target.

ref: Systemd Timers for Scheduling Tasks - Fedora Magazine

Service/Timer I use for weather:

[Unit]
Description="Pull weather using wttr.in for sway bar" 

[Service]
Type=simple
ExecStart=%h/bin/weathercache.bash

[Install]
WantedBy=sway-session.target
[Unit]
Description=Pull from wttr.in every 30 minutes

[Timer]
Persistent=true
OnBootSec=30
OnCalendar=*:0/30
Unit=weathercache.service

[Install]
WantedBy=timers.target
4 Likes