projects
/
unix-history
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3ca2eb5
)
BSD 4_3 development
author
CSRG
<csrg@ucbvax.Berkeley.EDU>
Fri, 6 Jun 1986 08:06:36 +0000
(
00:06
-0800)
committer
CSRG
<csrg@ucbvax.Berkeley.EDU>
Fri, 6 Jun 1986 08:06:36 +0000
(
00:06
-0800)
Work on file usr/lib/uucp/clean.weekly
Synthesized-from: CSRG/cd1/4.3
usr/lib/uucp/clean.weekly
[new file with mode: 0755]
patch
|
blob
diff --git a/usr/lib/uucp/clean.weekly
b/usr/lib/uucp/clean.weekly
new file mode 100755
(executable)
index 0000000..
2123926
--- /dev/null
+++ b/
usr/lib/uucp/clean.weekly
@@ -0,0
+1,11
@@
+#!/bin/csh -f
+#
+# Once a week, produce a report and mail to people
+#
+set people=( postmaster usenet )
+set spooldir=/usr/spool/uucp
+set archdir=uucplog.archives
+
+cd $spooldir/$archdir
+nice +5 awk -f /usr/lib/uucp/sys_awk SYSLOG.[0-6] >& weekly_report
+Mail -s "Weekly UUCP Report" $people < weekly_report