Cron scripts order of processing - part Two

Chris racerx at makeworld.com
Sun Apr 1 01:50:21 UTC 2007


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).  It also looks like items in
>> e.g. /etc/cron.weekly are not run in any particular order.  If you want
>> order, it seems you have to use a crontab.  I haven't tested this.
>>
>> Matt Flaschen
>>
>>
> 
> 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.
> 
> If that's the case, then I think I just answered my own question. Is
> this the case?
> 

... must be. There isn't an install of Sendmail for a default MTA.
Interesting. Ok, so I have a few choices. Sendmail and Postfix come to
mind (the only ones I know how to setup at least).

-- 
Best regards,
Chris

Will stain.




More information about the ubuntu-users mailing list