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


Groups > linux.debian.user > #256844

Re: questions about cron.daily

From Cindy Sue Causey <butterflybytes@gmail.com>
Newsgroups linux.debian.user
Subject Re: questions about cron.daily
Date 2023-04-07 23:50 +0200
Message-ID <Gi281-u1H-3@gated-at.bofh.it> (permalink)
References (3 earlier) <GhAY9-cRA-7@gated-at.bofh.it> <GhDt1-et2-19@gated-at.bofh.it> <GhGAx-gn1-5@gated-at.bofh.it> <GhGKd-gqq-1@gated-at.bofh.it> <GhWFj-qzY-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 4/7/23, Anssi Saari <as@sci.fi> wrote:
> Greg Wooledge <greg@wooledge.org> writes:
>
>> On Thu, Apr 06, 2023 at 05:45:08PM -0500, David Wright wrote:
>>> Users (including root) write their crontabs anywhere they like,
>>> typically in a directory like ~/.cron/.
>>
>> Is that... normal?  I can't say I've ever seen anyone keep a private
>> copy of their crontab in their home directory like that.
>
> I don't know if it's normal but sounds like a good practice, to have a
> backup of your crontab. I've been bitten by this sometime when my old
> shell provider retired a system and I had no copy of my crontab. My home
> dir was not affected by that retirement since those were all NFS mounted
> from a different server.


I like mine there. I haven't tried crontab yet, but I've put other
things at that location. It's more easily transferable without having
to look for or remember any personalizations. I think it was building
via npm that made it a comfortable, memorable CHOICE.

The .local directory is coming to mind quicker for me these days.
/opt, too, thanks to [upstream?] Chrome educating me that it's a nice,
empty, less trafficked location to quickly peek at specifically
installed packages.

There's also /usr/local that makes it easier to more quickly remember
packages that are specifically installed favorites for whatever
reason. Among /usr/local's potential plusses is that it's about root
permissions whereas putting its same contents in .local means mixing
root and user.

Mixing directories of varying permissions is no biggie for seasoned
users but can quickly mangle things for newer ones. I mangled mine a
long time ago when I got the bright idea to "chown" my user's entire
~/. We.. try not to do that anymore. What a mess. :)

It's all about available cognitive abilities while computing for my usage case..

Cindy :)

N.B. because it might catch the eye of a curious newbie: I don't do
npm these days. I had fun while the experience lasted. There were some
scary security issues a couple years back because it's such a wide
open space out there. NPM's security was serious enough that it was a
US-CERT advisement. The original is still sitting in my inbox:

https://www.cisa.gov/news-events/alerts/2021/10/22/malware-discovered-popular-npm-package-ua-parser-js

-- 
Talking Rock, Pickens County, Georgia, USA
* runs with birdseed *

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


Thread

questions about cron.daily coreyh@free.fr - 2023-04-06 13:40 +0200
  Re: questions about cron.daily Greg Wooledge <greg@wooledge.org> - 2023-04-06 13:50 +0200
  Re: questions about cron.daily Andy Smith <andy@strugglers.net> - 2023-04-06 17:40 +0200
    Re: questions about cron.daily Fred <fred@blakemfg.com> - 2023-04-06 18:40 +0200
      Re: questions about cron.daily Pierre Frenkiel <frenkiel@gmail.com> - 2023-04-06 18:50 +0200
        Re: questions about cron.daily "Thomas Schmitt" <scdbackup@gmx.net> - 2023-04-06 19:10 +0200
          Re: questions about cron.daily Alexis Grigoriou <alexis@nanoid.net> - 2023-04-06 20:30 +0200
        Re: questions about cron.daily Fred <fred@blakemfg.com> - 2023-04-06 21:30 +0200
          Re: questions about cron.daily David Wright <deblis@lionunicorn.co.uk> - 2023-04-07 00:50 +0200
            Re: questions about cron.daily Greg Wooledge <greg@wooledge.org> - 2023-04-07 01:00 +0200
              Re: questions about cron.daily <tomas@tuxteam.de> - 2023-04-07 07:10 +0200
                Re: questions about cron.daily Alex King <alex@rimuhosting.com> - 2023-04-08 02:20 +0200
                Re: questions about cron.daily "Andrew M.A. Cater" <amacater@einval.com> - 2023-04-08 11:10 +0200
                Re: questions about cron.daily Michel Verdier <mv524@free.fr> - 2023-04-08 11:20 +0200
                Re: questions about cron.daily Greg Wooledge <greg@wooledge.org> - 2023-04-08 14:40 +0200
                Re: questions about cron.daily Max Nikulin <manikulin@gmail.com> - 2023-04-08 17:20 +0200
                Re: questions about cron.daily Kushal Kumaran <kushal@locationd.net> - 2023-04-08 17:20 +0200
                Re: questions about cron.daily Max Nikulin <manikulin@gmail.com> - 2023-04-08 19:00 +0200
                Re: questions about cron.daily Michel Verdier <mv524@free.fr> - 2023-04-09 10:00 +0200
                Re: questions about cron.daily Max Nikulin <manikulin@gmail.com> - 2023-04-11 11:20 +0200
                Re: questions about cron.daily Michel Verdier <mv524@free.fr> - 2023-04-09 10:00 +0200
              Re: questions about cron.daily Richard Hector <richard@walnut.gen.nz> - 2023-04-07 18:00 +0200
              Re: questions about cron.daily Anssi Saari <as@sci.fi> - 2023-04-07 18:00 +0200
                Re: questions about cron.daily Cindy Sue Causey <butterflybytes@gmail.com> - 2023-04-07 23:50 +0200
              Re: questions about cron.daily David Wright <deblis@lionunicorn.co.uk> - 2023-04-09 18:10 +0200
                Re: questions about cron.daily zithro <slack@rabbit.lu> - 2023-04-09 21:50 +0200
                Re: questions about cron.daily David Wright <deblis@lionunicorn.co.uk> - 2023-04-10 03:30 +0200
                Re: questions about cron.daily davidson <davidson@freevolt.org> - 2023-04-10 04:30 +0200
                Re: questions about cron.daily Michel Verdier <mv524@free.fr> - 2023-04-10 08:40 +0200
                Re: questions about cron.daily David Wright <deblis@lionunicorn.co.uk> - 2023-04-11 05:50 +0200
                Re: questions about cron.daily zithro <slack@rabbit.lu> - 2023-04-10 17:50 +0200
                Re: questions about cron.daily David Wright <deblis@lionunicorn.co.uk> - 2023-04-11 05:50 +0200
      Re: questions about cron.daily Tom Furie <tom@furie.org.uk> - 2023-04-06 19:00 +0200
      Re: questions about cron.daily Michel Verdier <mv524@free.fr> - 2023-04-06 19:10 +0200
      Re: questions about cron.daily Greg Wooledge <greg@wooledge.org> - 2023-04-06 19:50 +0200
      Re: questions about cron.daily Stefan Monnier <monnier@iro.umontreal.ca> - 2023-04-06 19:50 +0200
      Re: questions about cron.daily davidson <davidson@freevolt.org> - 2023-04-06 23:30 +0200
        Re: questions about cron.daily ken@openmbox.net - 2023-04-07 02:20 +0200
          Re: questions about cron.daily Tom Furie <tom@furie.org.uk> - 2023-04-07 02:30 +0200
            Re: questions about cron.daily Dan Ritter <dsr@randomstring.org> - 2023-04-07 03:50 +0200

csiph-web