Skip to content

Instantly share code, notes, and snippets.

@chtzvt
Created July 10, 2019 23:42
Show Gist options
  • Save chtzvt/b16da49844092fc7890d0dffeb33ac61 to your computer and use it in GitHub Desktop.
Save chtzvt/b16da49844092fc7890d0dffeb33ac61 to your computer and use it in GitHub Desktop.
# 0 7 1-31/2 * * bash /home/charlton/scripts/cal.sh >/dev/null 2>&1
EMAIL=''
HOST="$(cat /etc/hostname)"
echo "
Today in history:
`calendar -f /home/charlton/.calendar/calendar`
--
Brought to you by $HOST
" | mailx -s "Events For `date +'%D'`" $EMAIL
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment