[rescue] Speaking of backups, scripting division

Drew Schatt schatt at schatt.com
Mon Nov 11 12:48:18 CST 2002


On Mon, 11 Nov 2002, Mike F wrote:
> but I find it rather limiting that I can't have cron entries
> that simply specify the interval. While I'm on the same subject
> (sort of) does Solaris have a way to non-interactively specify
> the subject of a mail message, like:
> `mail -s "This is the subject" recipient` ? I like it when my
> scripts are run to say something like "Output for `date`" in the
> subject; on BSD machines I can just use a mail -s in the
> crontab, but Solaris doesn't seem to like the -s switch.
The simple answer to this is to use mailx instead of mail on Solaris.
Mailx supports the -s option, and is apparently completely line option
compatible with mail on the other platforms.
	-Drew



More information about the rescue mailing list