Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.hawaii.edu!news.uoregon.edu!vixen.cso.uiuc.edu!howland.reston.ans.net!swrinde!sdd.hp.com!bone.think.com!blanket.mitre.org!sed.psrw.com!news.eff.org!news.umbc.edu!cs.umd.edu!info.usuhs.mil!hq.hq.af.mil!news From: sgregory@pubspo.hq.af.mil (Scott Gregory) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Redirecting output of cron Date: Wed, 12 Jun 1996 13:10:25 GMT Organization: Departmental Publishing Lines: 20 Message-ID: <31bec05e.7376476@news.hq.af.mil> NNTP-Posting-Host: emme-5681-b.hq.af.mil X-Newsreader: Forte Agent .99d/32.182 Is it possible to have cron email the results of a script it ran sent to a list of users instead of root??? I have cron checking to see if a file had been dropped by a user. When it sees the file it runs a script to process the file. When it finishes it dumps all the screen output from the script to a mail message to root. Is there any way to have this output mailed to the uses that need to know if the script processed??? The script is in roots crontab since I want to control how often the system checks and the users aren't users of the bsd box, they drop the files into a NFS'ed directory. Thanks C-ya Scott