#!/bin/sh RDATE=`date +%Y%m%d` MDATE=`date -d "-7 days" +%Y%m%d` #7일전 날짜 출력 Log="/usr/local/scripts/system" touch $Log echo To: admin@mail > $Log echo Subject: $HOSTNAME - System check >> $Log echo =================================================== >> $Log echo $HOSTNAME:Disk Usage $RDATE >> $Log echo =================================================== >> $Log df -kh >> $Log echo ==============..