Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #267914
| From | Gary Dale <gary@extremeground.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: where are the crontab files in Trixie? |
| Date | 2024-02-27 20:20 +0100 |
| Message-ID | <Icb9D-d2Jf-1@gated-at.bofh.it> (permalink) |
| References | <Ic7pn-d0tg-5@gated-at.bofh.it> <Ic7z3-d0wy-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 2024-02-27 10:26, The Wanderer wrote: > On 2024-02-27 at 10:15, Gary Dale wrote: > >> Anyway, that got me down the rabbit hole to try to find where the >> crontab file is. >> >> ls -l /root/cron* >> ls: cannot access '/root/cron*': No such file or directory >> >> also >> >> # whereis crontab >> crontab: /usr/bin/crontab /etc/crontab /usr/share/man/man1/crontab.1.gz >> /usr/share/man/man5/crontab.5.gz >> >> so it's not in the location that you'd expect. > I'm not sure whereis is suitable for finding things like this. As its > man page states, it's for finding "the binary, source, and manual page > files for a command" - not the data files which the command may work with. locate crontab also fails to find it, as does find / -name crontab > >> Nor can I find it in /etc/. The various cron files there don't >> contain the lines I;m looking for. >> Can anyone explain how Trixie is handling crontabs now? > The first paragraph of crontab(1) states: > >>> Each user can have their own crontab, and though these are files in >>> /var/spool/cron/crontabs,they are not intended to be edited >>> directly. > So, while I don't use per-user crontabs myself and so don't have > experience with this personally, I would suggest looking in that > directory - but not necessarily editing the files there, except via > 'crontab -e' as you have already done. Thanks. I missed that when I was reading the comments. I need to enlarge the text more, I guess.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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