Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #267923

Re: where are the crontab files in Trixie?

From Gremlin <scott-andrews@columbus.rr.com>
Newsgroups linux.debian.user
Subject Re: where are the crontab files in Trixie?
Date 2024-02-27 22:20 +0100
Message-ID <Icd1M-d3RE-5@gated-at.bofh.it> (permalink)
References (1 earlier) <Ic7z3-d0wy-1@gated-at.bofh.it> <Icb9D-d2Jf-7@gated-at.bofh.it> <Icb9D-d2Jf-11@gated-at.bofh.it> <IcbMm-d2Wi-9@gated-at.bofh.it> <IcbMm-d2Wi-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 2/27/24 14:58, Greg Wooledge wrote:
> On Tue, Feb 27, 2024 at 12:52:33PM -0700, Charles Curley wrote:
>> On Tue, 27 Feb 2024 14:13:49 -0500
>> Jeffrey Walton <noloader@gmail.com> wrote:
>>
>>>> The debian wiki suggests that the handling of cron/anacron is
>>>> evolving.
>>>
>>> That sounds like a euphemism for "being killed off" by Systemd and
>>> its timers.
>>
>> These days cron and anacron are run as services/timers by systemd.
>>
>> root@hawk:~# systemctl list-units '*cron*'
>>    UNIT                LOAD   ACTIVE SUB     DESCRIPTION
>>    cron.service        loaded active running Regular background program processing daemon
>>    anacron.timer       loaded active waiting Trigger anacron every hour
>>    nextcloudcron.timer loaded active waiting Run Nextcloud cron.php every 5 minutes
> 
> Systemd timers are designed to replace crontabs, but that's not what
> cron.service is.  cron.service runs an actual cron daemon.
> 
> hobbit:~$ systemctl status cron
> ● cron.service - Regular background program processing daemon
>       Loaded: loaded (/lib/systemd/system/cron.service; enabled; preset: enabled)
>       Active: active (running) since Sat 2024-02-17 20:45:06 EST; 1 week 2 days >
>         Docs: man:cron(8)
>     Main PID: 789 (cron)
>        Tasks: 1 (limit: 18738)
>       Memory: 21.9M
>          CPU: 5.275s
>       CGroup: /system.slice/cron.service
>               └─789 /usr/sbin/cron -f
> 
> hobbit:~$ ps -fp 789
> UID          PID    PPID  C STIME TTY          TIME CMD
> root         789       1  0 Feb17 ?        00:00:01 /usr/sbin/cron -f
> 
> I don't foresee real cron going away any time soon.  If systemd wants to
> create an alternative to it, that's fine, but people know cron, they
> like cron, and they *trust* cron.  Systemd timers don't have any of those
> benefits yet.
> 
> 

I purged cron from my systems and I use systemd-timers


-- 
Hindi madali ang maging ako

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

where are the crontab files in Trixie? Gary Dale <gary@extremeground.com> - 2024-02-27 16:20 +0100
  Re: where are the crontab files in Trixie? The Wanderer <wanderer@fastmail.fm> - 2024-02-27 16:30 +0100
    Re: where are the crontab files in Trixie? Gary Dale <gary@extremeground.com> - 2024-02-27 20:20 +0100
      Re: where are the crontab files in Trixie? Greg Wooledge <greg@wooledge.org> - 2024-02-28 04:20 +0100
      Re: where are the crontab files in Trixie? The Wanderer <wanderer@fastmail.fm> - 2024-02-28 04:20 +0100
  Re: where are the crontab files in Trixie? Kushal Kumaran <kushal@locationd.net> - 2024-02-27 16:30 +0100
    Re: where are the crontab files in Trixie? Gary Dale <gary@extremeground.com> - 2024-02-27 20:20 +0100
      Re: where are the crontab files in Trixie? Jeffrey Walton <noloader@gmail.com> - 2024-02-27 20:20 +0100
        Re: where are the crontab files in Trixie? Gary Dale <gary@extremeground.com> - 2024-02-27 20:40 +0100
          Re: where are the crontab files in Trixie? Gremlin <scott-andrews@columbus.rr.com> - 2024-02-27 22:10 +0100
        Re: where are the crontab files in Trixie? Charles Curley <charlescurley@charlescurley.com> - 2024-02-27 21:00 +0100
          Re: where are the crontab files in Trixie? Greg Wooledge <greg@wooledge.org> - 2024-02-27 21:00 +0100
            Re: where are the crontab files in Trixie? Gremlin <scott-andrews@columbus.rr.com> - 2024-02-27 22:20 +0100
            Re: where are the crontab files in Trixie? Andy Smith <andy@strugglers.net> - 2024-02-28 16:10 +0100
  Re: where are the crontab files in Trixie? Greg Wooledge <greg@wooledge.org> - 2024-02-27 16:40 +0100
    Re: where are the crontab files in Trixie? Gary Dale <gary@extremeground.com> - 2024-02-27 20:20 +0100
  Re: where are the crontab files in Trixie? Michael Kjörling <2695bd53d63c@ewoof.net> - 2024-02-27 16:40 +0100
    Re: where are the crontab files in Trixie? David Wright <deblis@lionunicorn.co.uk> - 2024-02-28 04:40 +0100
      Re: where are the crontab files in Trixie? Max Nikulin <manikulin@gmail.com> - 2024-02-28 16:40 +0100
        Re: where are the crontab files in Trixie? Nicolas George <george@nsup.org> - 2024-02-28 17:00 +0100
        Re: where are the crontab files in Trixie? David Wright <deblis@lionunicorn.co.uk> - 2024-02-29 05:40 +0100
          Re: where are the crontab files in Trixie? Max Nikulin <manikulin@gmail.com> - 2024-02-29 16:20 +0100

csiph-web