On Thu, Oct 27, 2011 at 10:06:54PM +0200, Jostein Gogstad wrote:
> "I'm sending a mail to Bob asking him to perform some task. I expect his
> response before the work day is over. It's important that I remind him of this
> task if he doesn't answer my mail in the next 8 hours."

You could do this with a simple shell script in combination with the
Unix at command.  It would looks something like:

#!/bin/sh
# $1 = user(s) to mail, space separated string
users=$1
shift
# $2 (now $1) = time to send reminder
time=$1
shift
# The rest of the args are the subject to remind about

echo "mail -s 'remind $users about $@' $USERNAME" | at $time
mutt -s "$@" -c $USERNAME $users 


Obviously you could get more sophisticated with this if you like.

-- 
Derek D. Martin    http://www.pizzashack.org/   GPG Key ID: 0xDFBEAD02
-=-=-=-=-
This message is posted from an invalid address.  Replying to it will result in
undeliverable mail due to spam prevention.  Sorry for the inconvenience.

Attachment: pgp2pt46q5JsT.pgp
Description: PGP signature

Reply via email to