Return to BSD News archive
Path: sserve!euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!hookup!news.moneng.mei.com!news.ecn.bgu.edu!vixen.cso.uiuc.edu!newsrelay.iastate.edu!news.iastate.edu!te134a.cce.iastate.edu!marcus From: marcus@ccelab.iastate.edu (Marcus I. Ryan) Newsgroups: comp.unix.bsd.freebsd.misc Subject: crontab and sh scripts Date: Wed, 9 Aug 1995 15:08:16 LOCAL Organization: Iowa State University Lines: 21 Message-ID: <marcus.216.0111D480@ccelab.iastate.edu> NNTP-Posting-Host: te134a.cce.iastate.edu X-Newsreader: Trumpet for Windows [Version 1.0 Rev B final beta #4] I have written an sh script that calculates some statistics for my WWW server. Basically is greps through the log files a few hundred times :) I wan't it to update the report nightly, but I can't seem to get the crontab entry to make it do this. I have added the lines: #Generate New Prelim Logfiles every day at midnight. 59 23 * * * root /usr/local/bin/stathtml \ `date +" %b %B"` (In the actual file, the entry is all on one line, not backslashed as I show) Security issues aside, what am I doing wrong here? ---------------------------------------------------------------- Marcus I. Ryan |*Diplomacy is the art of saying 'Nice Asst. SysAdmin, CCE Labs | doggie!' until you can find a rock. Iowa State University |-------------------------------------- shad@iastate.edu |*Diplomacy - Letting someone else have (515) 294-0715 | things your way. ----------------------------------------------------------------