[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] Sending mail with attachment via cron?
- Subject: RE: [cobalt-users] Sending mail with attachment via cron?
- From: "Fragga" <fragga@xxxxxxxxxxxx>
- Date: Wed May 28 13:44:01 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
> I need to send a mail containing a file or contents of a text file via
> crontab. How is that done?
You could use mutt for attachments and run from cron in a shell script like
:
echo 'Hello' | mutt -a /home/file.txt -s 'Subject' you@xxxxxxxxxx