-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> It seems that the following Debian commit which introduces a
> temporary file has an unfortunate side-effect: 
> http://anonscm.debian.org/gitweb/?p=pkg-cron/pkg- 
> cron.git;a=commitdiff;h=e61050367866fb1b627e2c004d370914eced70cb
> 
> Indeed even if cron has nothing to do, a temporary file is always
> created in /tmp and immediatly deleted.
> 
> I am trying to reduce the power consumption of my server and this
> patch had the effect of waking-up the hard-drive every hour.
> 
> Maybe it is possible to prevent the temporary file creation if cron
> has nothing to do ?

With "nothing to do", do mean "no jobs are run" or "jobs do not create
output"?

In any case, a simple solution would be to have a tmpfs on /tmp. This
is trivial to do with Wheezy (see /etc/default/tmpfs), and still easy
with Squeeze.

Christian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlGu//wACgkQwSyarY0epjX6JgCeNJ9KM7vpudKvueQ+EBERNpQo
jeIAnjNXziel3gQ+H2sHRqiR7FOPxijW
=5oHu
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to