[Unit] Description=Run my job every week RefuseManualStart=no RefuseManualStop=no [Timer] Persistent=true #when it is true systemd stores when the timer was last run and when the machine boots up after a long time, it will automatically catch up onto this timer if it should have run in the meantime OnCalendar=weekly Unit=background-rotate.service [Install] WantedBy=timers.target