Skip to content
Permalink
1c94275e0c
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 16 lines (9 sloc) 367 Bytes
#!/bin/bash
SUBJECT="Subject: terminal software restart!\n"
FROM="From: noreply@$(hostname)\n"
TO="To: kirstaedter@fhi-berlin.mpg.de\n\n"
CONTENT="$(hostname):\nraspytime restart!\n"
CHIP="$1\n"
MAIL=$SUBJECT$FROM$TO$CONTENT$CHIP
#printf "$MAIL" | /usr/sbin/sendmail personal@fhi-berlin.mpg.de
printf "$MAIL" | /usr/sbin/sendmail kirstaedter@fhi-berlin.mpg.de