> David Fleck said: > > > > > Date=`date +"%Y-%m-%d"` > > > > cat /var/log/http/${Date}-error_log | mail -s log [EMAIL PROTECTED] > From: "Jason Lieurance" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Sunday, September 07, 2003 9:44 PM Subject: Re: Making a certain cron job
> Hello, > > Thank you for the response. Does the date part > (Date=`date +"%Y-%m-%d"`) go as part > of the cron job? Thanks again. > > -- > Jason > I'd say not. Save the lines he wrote as "somescript.sh" and put the following command in your crontab at the desired time: /bin/sh /path/to/somescript.sh Kevin Kinsey DaleCo, S.P. _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"