You are not logged in.

#1 2020-04-21 00:28:49

Phydoux
Member
Registered: 2020-03-02
Posts: 46

[SOLVED] Disable / get rid of a timer

So I had a bad mishap because of an auto update timer I had set. I'd like to disable it or get rid of it altogether. This is what I've tried.

systemctl disable update.timer

and sudo systemctl disable update.timer

Both say that the authentication has been complete but the timer is still active when I view the timer list with systemctl list-timers. How do I get rid of this timer?

Last edited by Phydoux (2024-09-11 15:39:25)

Offline

#2 2020-04-21 00:31:19

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,520
Website

Re: [SOLVED] Disable / get rid of a timer

disable != stop.

Last edited by Trilby (2020-04-21 00:33:19)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2020-04-21 00:33:07

zenbum
Member
From: California
Registered: 2020-02-29
Posts: 8

Re: [SOLVED] Disable / get rid of a timer

Disable prevents it from starting at boot. You also need to stop it:
    systemctl stop update.timer

You can do both in one step:
    systemctl disable --now update.timer

Offline

#4 2020-04-21 00:40:08

loqs
Member
Registered: 2014-03-06
Posts: 19,078

Re: [SOLVED] Disable / get rid of a timer

Uninstall the dangerous package pacman-auto-update the install script that auto enables the timer will stop the timer
https://aur.archlinux.org/cgit/aur.git/ … uto-update

Offline

#5 2020-04-21 00:44:21

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,520
Website

Re: [SOLVED] Disable / get rid of a timer

Oh dear god.  That package is horrible in so many ways.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#6 2020-04-21 01:00:56

Phydoux
Member
Registered: 2020-03-02
Posts: 46

Re: [SOLVED] Disable / get rid of a timer

zenbum wrote:

    systemctl disable --now update.timer


That worked! Thanks!

Offline

#7 2020-04-21 08:37:46

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,384

Re: [SOLVED] Disable / get rid of a timer

Please mark as [SOLVED] by editing the thread title.

Not a packaging/pacman issue, moving to NC

Offline

Board footer

Powered by FluxBB