Author Login
Post Reply
Am Montag, 24. März 2008 schrieb Kaushal Shriyan:
> MAILTO=systems@(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
Don't rely on cron to send the mail, use mailx inside your script instead.
That means, inside the script, capture all output in a temp. file, then use
cat /tmp/file|mailx -s "my subject" systems@(protected)
HTH...
Dirk

Attachment:
signature.asc (zipped)