summaryrefslogtreecommitdiff
path: root/etc/crontab
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-08-18 06:12:52 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-08-18 06:12:52 +0000
commit0ddc477e65aaf0ff6fc3647e9d2811c0b66a34c8 (patch)
treefa78d76423da07fa7d4b0c232e1c52f2f09364c2 /etc/crontab
parentc5c93160a527dd4df842bcd040ab3a79eeabfb05 (diff)
put hostname in mail subject; jbernard@tater.mines.edu
Diffstat (limited to 'etc/crontab')
-rw-r--r--etc/crontab8
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/crontab b/etc/crontab
index 832231564ed..b4d1bb510d4 100644
--- a/etc/crontab
+++ b/etc/crontab
@@ -1,4 +1,4 @@
-# $OpenBSD: crontab,v 1.6 1997/07/07 23:19:41 downsj Exp $
+# $OpenBSD: crontab,v 1.7 1997/08/18 06:12:51 deraadt Exp $
#
# /var/cron/tabs/root - root's crontab
#
@@ -16,6 +16,6 @@ HOME=/var/log
#*/1 * * * * /usr/bin/newsyslog -m
#
# do daily/weekly/monthly maintenance
-30 1 * * * /bin/sh /etc/daily 2>&1 | tee /var/log/daily.out | mail -s "daily output" root
-30 3 * * 6 /bin/sh /etc/weekly 2>&1 | tee /var/log/weekly.out | mail -s "weekly output" root
-30 5 1 * * /bin/sh /etc/monthly 2>&1 | tee /var/log/monthly.out | mail -s "monthly output" root
+30 1 * * * /bin/sh /etc/daily 2>&1 | tee /var/log/daily.out | mail -s "`/bin/hostname` daily output" root
+30 3 * * 6 /bin/sh /etc/weekly 2>&1 | tee /var/log/weekly.out | mail -s "`/bin/hostname` weekly output" root
+30 5 1 * * /bin/sh /etc/monthly 2>&1 | tee /var/log/monthly.out | mail -s "`/bin/hostname` monthly output" root