*BSD News Article 74143


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!gatech!news.mathworks.com!news.kei.com!nntp.coast.net!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail
From: brian@awfulhak.demon.co.uk (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: httpd through cron
Date: 18 Jul 1996 10:29:00 +0100
Organization: Coverform Ltd.
Lines: 17
Message-ID: <4sl04s$bs@anorak.coverform.lan>
References: <4s88g3$krt@usenet.srv.cis.pitt.edu> <4sfte0$meq@uriah.heep.sax.de>
NNTP-Posting-Host: localhost.coverform.lan
X-NNTP-Posting-Host: awfulhak.demon.co.uk
X-Newsreader: TIN [version 1.2 PL2]

J Wunsch (j@uriah.heep.sax.de) wrote:
: Terry Lambert <terry@lambert.org> wrote:

: > It needs a /dev/tty, which it can't get if it is run by cron.

: Why does an HTTPD need /dev/tty?

Why is there a line saying MESSAGES=OFF in the crontab script.

I put 'mesg y' into /etc/profile once and took weeks to figure out
why loads of cron jobs (ones that source /etc/profile) broke.  Maybe
there are further scripts involved ?  But I agree, httpd *shouldn't*
need /dev/tty.

--
Brian <brian@awfulhak.demon.co.uk>
Don't _EVER_ lose your sense of humour....