Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #267913
| 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-7@gated-at.bofh.it> (permalink) |
| References | <Ic7pn-d0tg-5@gated-at.bofh.it> <Ic7z3-d0wy-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 2024-02-27 10:25, Kushal Kumaran wrote: > On Tue, Feb 27 2024 at 10:15:59 AM, Gary Dale <gary@extremeground.com> wrote: >> I'm running Debian/Trixie on an AMD64 system. I have an old wifi >> adapter that Linux has problems with that works once I run: >> >> /usr/sbin/modprobe brcmfmac >> echo 13b1 0bdc > /sys/bus/usb/drivers/brcmfmac/new_id >> >> However when I add those lines to the root's crontab using # crontab -e as >> >> @reboot /usr/sbin/modprobe brcmfmac >> @reboot echo 13b1 0bdc > /sys/bus/usb/drivers/brcmfmac/new_id >> >> the second line fails. I get an e-mail stating "/bin/sh: 1: cannot >> create /sys/bus/usb/drivers/brcmfmac/new_id: Directory nonexistent" >> >> I'm not sure if the modprobe is working or if the module is being >> loaded without it. It's likely that debian detects the need for the >> module and loads it. >> > Is it possible that the command is being run before the module is > loaded. Consider putting both into a single command, perhaps by writing > a script that does both things. > >> 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. Nor can I find it in >> /etc/. The various cron files there don't contain the lines I;m >> looking for. >> > Editing/creating crontab files using "crontab -e" creates it in > /var/spool/cron/crontabs. > >> <snipped crontab content> >> >> Can anyone explain how Trixie is handling crontabs now? > This behavior has existed forever. I'm on bookworm, though, so no idea > if anything is changing in trixie. The debian wiki suggests that the handling of cron/anacron is evolving.
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