Re: rotating log files
On Sat, Dec 19, 1998 at 04:54:22PM -0800, okushi@cs.csubak.edu wrote:
>
> If there had never been such a feature (and I was getting it
> because of some misconfiguration:-)), I think it would be a
> nice feature to add to /etc/init.d/cron. Have some files to
> keep track of when /etc/cron.{daily,weekly,monthly} last ran
> (touch /etc/cron.daily-lastrun should be sufficient), and
> /etc/init.d/cron (on start) can check the timestamps to see
> whether it should run them directly.
The package "anacron" provides this functionality.
Package: anacron
Priority: extra
Section: admin
Installed-Size: 65
Version: 2.0.1-2
Replaces: pe
Depends: libc6, sysklogd, smail | sendmail | mail-transport-agent
Recommends: cron (>= 3.0pl1-43)
Description: a cron-like program that doesn't go by time
Anacron (like `anac(h)ronistic') is a periodic command scheduler. It
executes commands at intervals specified in days. Unlike cron, it
does not assume that the system is running continuously. It can
therefore be used to control the execution of daily, weekly and
monthly jobs (or anything with a period of n days), on systems that
don't run 24 hours a day. When installed and configured properly,
Anacron will make sure that the commands are run at the specified
intervals as closely as machine-uptime permits.
.
This package is pre-configured to execute the daily jobs of the Debian
system. You should install this program if your system isn't powered on
24 hours a day to make sure the maintenance jobs of other Debian packages
are executed each day.
--
"Rhubarb is no Egyptian god." Debian GNU/Linux finger brinkmd@
Marcus Brinkmann http://www.debian.org master.debian.org
Marcus.Brinkmann@ruhr-uni-bochum.de for public PGP Key
http://homepage.ruhr-uni-bochum.de/Marcus.Brinkmann/ PGP Key ID 36E7CD09
Reply to: