public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Arve Barsnes <arve.barsnes@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] cronie setup questions
Date: Fri, 4 Oct 2024 06:58:48 +0200	[thread overview]
Message-ID: <CAJjrzcV19zoZ9tyD_ir=-6aEgj0ObqCx20sV9ehRexCcdOd5-g@mail.gmail.com> (raw)
In-Reply-To: <MTAwMDAwNi53ZG5lc2RheQ.1727999257@quikprotect>

On Fri, 4 Oct 2024 at 01:47, Walter Dnes <waltdnes@waltdnes.org> wrote:
>   My head hurts.  Which config file do I enter the config into, and are
> there any initialization steps?  Is there a simpler cron program, if
> that would help?

As Dale said,
'crontab -e'
to edit the current user's crontab is the easiest solution, which I
also use with cronie. There you can paste in your config line without
the user name.

You can also edit /etc/crontab if you want, in this file the syntax
includes a field to specify what user a command should run as, so here
you could paste in your config line as is.

Make sure to add the cronie service to a runlevel so it starts automatically:
'sudo rc-service add cronie default'

Regards,
Arve


  parent reply	other threads:[~2024-10-04  4:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-03 23:47 [gentoo-user] cronie setup questions Walter Dnes
2024-10-04  1:58 ` Dale
2024-10-04  4:58 ` Arve Barsnes [this message]
2024-10-09 15:31 ` Walter Dnes
2024-10-09 16:43   ` Arve Barsnes
2024-10-09 16:45   ` Michael

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJjrzcV19zoZ9tyD_ir=-6aEgj0ObqCx20sV9ehRexCcdOd5-g@mail.gmail.com' \
    --to=arve.barsnes@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox