home *** CD-ROM | disk | FTP | other *** search
- #!/bin/sh
- #
- #location of news directory
-
- HTTPD_NEWSHOME=/usr1/paul/news
-
- cd $HTTPD_NEWSHOME
- echo Updating begins `date` >>upd_log
- getnews >>upd_log 2>&1
- build_idx >>upd_log 2>&1
- du >>upd_log 2>&1
- at -s 2am update >>upd_log 2>&1
- echo Updating finishes `date` >>upd_log
-