Scheduled work has both a timetable and a job to run. With systemctl, a systemd timer can be inspected, stopped, disabled, or restarted with an edited schedule while its service defines the work.

On a systemd host, timer management has two layers, the runtime state such as active (waiting) or inactive (dead), and the unit-file state such as enabled or disabled. A timer can be active but disabled, or stopped but enabled for the next boot. The timer normally launches the service with the same basename, although its Unit= setting can select another unit.

Disabling a timer removes its automatic-start links, not its unit file. A packaged timer should normally stay installed, whereas an administrator-owned timer definition can be removed when its schedule is no longer needed. Stopping a timer leaves any service it already launched running.

Steps to manage a systemd timer with systemctl:

  1. Check the timer's current status.
    $ systemctl status cache-prune.timer
    ● cache-prune.timer - Cache Prune Schedule
         Loaded: loaded (/etc/systemd/system/cache-prune.timer; enabled; preset: enabled)
         Active: active (waiting) since Thu 2026-11-05 22:21:40 UTC; 2s ago
     Invocation: 8ffe9e5bb2e44616ab0ca5e5f7794b4e
        Trigger: Thu 2026-11-05 23:00:00 UTC; 38min left
       Triggers: ● cache-prune.service
    
    Nov 05 22:21:40 timer-host systemd[1]: Started cache-prune.timer - Cache Prune Schedule.

    cache-prune.timer is an example name, so use your timer's name in its place. Loaded: shows the timer file and whether it is enabled, Active: shows whether it is waiting now, Trigger: shows the next run, and Triggers: names the service it starts.

  2. Read the timer's schedule.
    $ systemctl cat cache-prune.timer
    # /etc/systemd/system/cache-prune.timer
    [Unit]
    Description=Cache Prune Schedule
    
    [Timer]
    OnCalendar=hourly
    Persistent=true
    
    [Install]
    WantedBy=timers.target

    OnCalendar= sets the schedule. WantedBy=timers.target is what lets enable start the timer at boot.

  3. Run the one command that matches the change you want.

    Starting or restarting a timer with Persistent=true runs its job straight away if a scheduled run was missed while the timer was stopped.

    ChangeCommand
    Pause an enabled timer until the next boot sudo systemctl stop cache-prune.timer
    Resume a stopped timer sudo systemctl start cache-prune.timer
    Turn the timer off, including after a reboot sudo systemctl disable --now cache-prune.timer
    Turn the timer on, including after a reboot sudo systemctl enable --now cache-prune.timer
    Apply a schedule changed with systemctl edit sudo systemctl restart cache-prune.timer

    A timer file edited directly needs sudo systemctl daemon-reload before the restart.
    Related: How to change a systemd timer schedule
    Related: How to remove a systemd timer

  4. Check the timer's status again to confirm the change.
    $ systemctl status cache-prune.timer
    ○ cache-prune.timer - Cache Prune Schedule
         Loaded: loaded (/etc/systemd/system/cache-prune.timer; disabled; preset: enabled)
         Active: inactive (dead)
        Trigger: n/a
       Triggers: ● cache-prune.service
    
    Nov 05 22:21:40 timer-host systemd[1]: Started cache-prune.timer - Cache Prune Schedule.
    Nov 05 22:21:46 timer-host systemd[1]: cache-prune.timer: Deactivated successfully.
    Nov 05 22:21:46 timer-host systemd[1]: Stopped cache-prune.timer - Cache Prune Schedule.

    This output follows disable --now, so Loaded: says disabled and Active: says inactive (dead). A timer you started or enabled shows active (waiting) with its next run on the Trigger: line.

Share this guide