*BSD News Article 57897


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.cis.okstate.edu!news.ksu.ksu.edu!news.mid.net!sbctri.tri.sbc.com!newspump.wustl.edu!news.ecn.bgu.edu!vixen.cso.uiuc.edu!howland.reston.ans.net!ix.netcom.com!netcom.com!dhawk
From: dhawk@netcom.com (David H)
Subject: Continued Crontab Problem on 2.0.5
Message-ID: <dhawkDKM3qJ.IHp@netcom.com>
Organization: Decline to State
Date: Wed, 3 Jan 1996 15:44:42 GMT
Lines: 23
Sender: dhawk@netcom13.netcom.com

OK, I'm still trying to figure out crontab. At least I no longer
have /etc/crontab and /var/cron/tabs/root  ;-)

But I do have a /var/cron/tabs/stats
for user 'stats' with a home directory of '/yapp/info/stats'
and the /var/cron/tabs/stats has
USER=stats
HOME=/yapp/info/stats
LOGNAME=stats

and it runs a program that writes a configuration file in its
home directory. The problem is that it keeps trying to write
to /root instead of /yapp/info/stats even with USER, HOME, and LOGNAME
set. Why would the stats crontab job think /root is its home
directory? (The stats crontab file was installed with 
	crontab -u stats [filename] 
by root.)

later, david
--
David Hawkins    dhawk@netcom.com
"There are things that are so serious that you can only joke about
them." -- Heisenberg