Kaushal Shriyan wrote:
Hi I have the following entry in the crontab

[EMAIL PROTECTED]
0 18 * * * /home/kaushal/rsync_mysql.sh

I want my subject line to be "hostxx:yyDB refresh daily"

is there a way to do it

Thanks and Regards

Kaushal


The easiest way is to write a wrapper script; I have a few of them that do something like:


(
echo "From: songbird.jungle <[EMAIL PROTECTED]>"
echo "To: Michael Edenfield <[EMAIL PROTECTED]>"
echo "Subject: Portage Update Report"
echo ""

# do stuff here.

) | sendmail [EMAIL PROTECTED]

--
gentoo-user@lists.gentoo.org mailing list

Reply via email to