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