Anacron - revisited

Brian Fahrlander brian at fahrlander.net
Sun Apr 8 17:43:27 UTC 2007


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

Chris wrote:
> I'm puzzled folks - when anacron runs it's jobs, are there supposed to
> be email reports? Case in point - if I create a script to run in
> /etc/cron.daily under say CentOS - There is an email sent to root when
> that script is complete (example, if I echo the time of start and
> completion).
> 
> If not - is there something that can be turned on to allow the reports
> to be sent to root (or any other login provided the alias files says so)
> 
> If it does though - it seems mine is not working. So I could use a bit
> of help in where it borked.
> 
> Again, and as usual - TIA.

    As far as I know, this is one of the longest-running standards of
Unix and Linux; I don't remember hearing of any choice, or mechanism to
mute the cron jobs- it's just too important.

    Probably the question to ask is, where does root's mail go?  A lot
of times, on a new install it goes to a local folder. Try:

    echo "My at real.address.com" > $HOME/.forward

    and then sudo to root and "echo "Test mail" | mail root" to see just
where it goes.

    I'll bet it's collecting somewhere.  You can read your local
mailboxes with "mail"- good place to start.


- --
 ------------------------------------------------------------------------
 Brian Fahrländer                 Christian, Conservative, and Technomad
 Evansville, IN                              http://Fahrlander.net/brian
 ICQ: 5119262                         AOL/Yahoo/GoogleTalk: WheelDweller
 ------------------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGGSm/6PLtRzZbdhYRAgsVAJ99EAxMlGoijYeDYsXS/2+vgxQfvACfYB4h
XMQdBrThf/kARUBDFzGTZZ0=
=E+ye
-----END PGP SIGNATURE-----




More information about the ubuntu-users mailing list