[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: file vari in/var/log/



On Wed, Aug 09, 2000 at 11:07:07PM +0200, Guido Piazzi wrote:
> Mah... io non ho fatto altro che modificare /etc/crontab in modo che i
> vari servizi vengano eseguiti fra le 20 e le 21 (quando ho il computer
> acceso a far niente) anziché fra le 6 e le 7 di mattina, quando è sempre
> spento perché o sono già fuori o dormo!

Una soluzione molto piu' elegante e' usare anacron:

> dpkg -p anacron
[snip]

> 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.


-- 
	- Zack -

Stefano Zacchiroli <zacchiro@cs.unibo.it> ICQ# 33538863
Undergraduate Student of Computer Science at University of Bologna, Italy
SysAdm of verdicchio.students.cs.unibo.it (130.136.3.134)
	"Information wants to be Open"

Attachment: pgpZI9HUwW2RS.pgp
Description: PGP signature


Reply to: