Browse Source

No need to put a Subject: line. We use "mail -s" in the crontab anyway.

OPENBSD_2_3
millert 27 years ago
parent
commit
f1f5eb96c4
2 changed files with 2 additions and 8 deletions
  1. +1
    -4
      src/etc/monthly
  2. +1
    -4
      src/etc/weekly

+ 1
- 4
src/etc/monthly View File

@ -1,8 +1,5 @@
#!/bin/sh -
# $OpenBSD: monthly,v 1.4 1997/09/15 09:54:40 deraadt Exp $
host=`hostname -s`
echo "Subject: $host monthly run output"
# $OpenBSD: monthly,v 1.5 1998/02/02 23:08:57 millert Exp $
if [ -f /etc/monthly.local ];then
echo ""


+ 1
- 4
src/etc/weekly View File

@ -1,14 +1,11 @@
#!/bin/sh -
#
# $OpenBSD: weekly,v 1.7 1997/09/15 09:54:40 deraadt Exp $
# $OpenBSD: weekly,v 1.8 1998/02/02 23:08:56 millert Exp $
#
PATH=/bin:/sbin:/usr/sbin:/usr/bin:/usr/libexec
export PATH
host=`hostname -s`
echo "Subject: $host weekly run output"
if [ -f /etc/weekly.local ];then
echo ""
echo "Running weekly.local:"


Loading…
Cancel
Save