Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Create dynamic Mail signatures via fortune' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Create dynamic Mail signatures via fortune
Authored by: gdanko on May 06, '04 12:33:29PM

How about you write this script...

#!/bin/sh
/path/to/fortune | /bin/mail -s "Your subject here" recipient@domain.tld

Then cron it for whatever frequency you like... This will accomplish the same thing with no user intervention necessary. :)



[ Reply to This | # ]
Uh ... no
Authored by: Greedo on May 06, '04 01:46:20PM

That sends an email to whoever with a fortune at defined intervals.

I don't think the original poster wants to send random quotes to one person every 5 minutes. He wants to use a random quote as part of his signature.

See further down for another way of accomplishing this.



[ Reply to This | # ]