> Instead of tee the following should work also: > > echo "$now $0 executed for $DOMAIN on in $exectime sec" 1>&2 > >> /var/log/awstats.log
I think you may mean: echo "$now $0 executed for $DOMAIN on in $exectime sec" >> /var/log/awstats.log 1>&2 [tested] - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
