The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 03-20-2007
alikun alikun is offline
Registered User
  
 

Join Date: Mar 2007
Posts: 23
Quote:
Originally Posted by matrixmadhan
Code:
echo "contents" | mail -s "subject" address
matrix thanks a lot, that was very kind of you:
i tried it as follows but had an error "message bad minute" in my file after submitting for crontab. This is what i did:

vi mycron
00 7 * * * echo hi mother, i wanna be a script daddy.
echo hello | mail -s hello again unixbuddy@hello.com
:wq

crontab mycron

what does "contents" refer to? should hello again be within quotes?. couldn't find the mistake.

Thanks a lot,
alikun