Cron scripts order of processing - part Two
Marius Gedminas
marius at pov.lt
Thu Apr 5 17:15:23 UTC 2007
On Sat, Mar 31, 2007 at 08:39:09PM -0500, Chris wrote:
> Matthew Flaschen wrote:
> > Chris wrote:
> >> Sorry folks, I forgot to tag this in the last posting.
> >>
> >> What happens to the mail (if even created) when the cron jobs run?
> >> Example - when I used another OS, the nightly jobs would produce an
> >> email based on the cronjobs that ran and was sent to root for review.
> > Based on reading man cron, it looks like all output will be sent to the
> > owner of the cronjob (presumably root).
>
> I agree Matthew - I thought so to however, I'm unsure how to ensure this
> is happening. Case in point, I do have my /etc/aliases file pointing to
> me (of course) for the user root. Interestingly enough, I don't seem to
> be getting the mail - unless (and this just hit me) sendmail isn't a
> default install.
Yup, Ubuntu doesn't install a MTA by default.
sudo apt-get install postfix if you want to receive mail from cron.
Marius Gedminas
--
Voodoo Programming: Things programmers do that they know shouldn't work but
they try anyway, and which sometimes actually work, such as recompiling
everything.
-- Karl Lehenbauer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20070405/157f387b/attachment.sig>
More information about the ubuntu-users
mailing list