From: Hans-Werner Hilse <hilse@web.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Daily dumb question... chron.
Date: Mon, 18 Jul 2005 14:25:47 +0200 [thread overview]
Message-ID: <20050718142547.53b4fc5a.hilse@web.de> (raw)
In-Reply-To: <42DB9B45.50503@shic.co.uk>
Hi,
On Mon, 18 Jul 2005 13:06:29 +0100
"Steve [Gentoo]" <gentoo_steve@shic.co.uk> wrote:
> I've noticed the directories /etc/cron.daily; /etc/cron.hourly;
> /etc/cron.monthly etc. and therein a bunch of non-user-specific
> administration tasks... For example, in ./etc/cron.daily I've
> logrotate.cron and rulesdujour - but none of these appear to have run in
> the last month. Are thse system tasks supposed to be fired
> automatically by fcron? What would be the easiest way to get all my
> periodic system administration tasks defined in these directories to be
> fired automatically? Did I make a sensible choice with fcron?
Can't tell much about fcron (esp. if its config syntax is similar to my
vixie-cron), but for me, vixie-cron installed a /etc/crontab that
contains the following lines:
0 * * * * root rm -f /var/spool/cron/lastrun/cron.hourly
1 3 * * * root rm -f /var/spool/cron/lastrun/cron.daily
15 4 * * 6 root rm -f /var/spool/cron/lastrun/cron.weekly
30 5 1 * * root rm -f /var/spool/cron/lastrun/cron.monthly
*/10 * * * * root test -x /usr/sbin/run-crons && /usr/sbin/run-crons
this does the job.
-hwh
--
gentoo-user@gentoo.org mailing list
next prev parent reply other threads:[~2005-07-18 12:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-18 12:06 [gentoo-user] Daily dumb question... chron Steve [Gentoo]
2005-07-18 12:25 ` Hans-Werner Hilse [this message]
2005-07-18 12:58 ` Dave Nebinger
2005-07-18 13:09 ` Dave Nebinger
2005-07-19 0:52 ` Bob Sanders
2005-07-19 10:36 ` Steve [Gentoo]
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=20050718142547.53b4fc5a.hilse@web.de \
--to=hilse@web.de \
--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