Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to be able to setup a reminder 'service' for myself so that I can schedule emails or text messages to be sent to my handheld when I can't get to an ssh client.

Here's my scenario:

It's now noon. I need to give myself a reminder in four hours to pickup milk on the way home from work.

I would like to be able to email a special account I have setup that will dump all messages that are not from "me", and that will take the subject line as a command, and the body as the message.

For example, the following email could be sent:

Subject: at 16:00 txtmobile
Body: pickup milk

I'd like to grab that mail, pull the subject apart and hand it to a script that will set an at job for 16:00 that will call my txtmobile script with the body contents as the SMS message.

That way I can send myself reminders from work or whereever if I can't get to the calendar function on my phone.

Two questions. First, is it possible? Second, is there a better way to do it?

share|improve this question
up vote 2 down vote accepted

Something like this in .procmailrc:

* ^From:
* ^To:
| will get the mail on standard input, so you could parse it apart like this:

while (<>) {
        /^Subject: (.*)/ and $cmd = $1;
        /^./ and $body .= $_;
chmod $cmd;
open(OUT, "| $cmd") or die;
print OUT $body;
close OUT;

Be sure to make this safe from abuse.

share|improve this answer

(I'll answer the second question.) You should consider one of the many web services that will do this for you.

Remember the Milk, for example, will do what you describe and a lot more.

share|improve this answer
maybe I missed it in the tour, but I don't see where I could access it via an email or txt message to send me a reminder later – warren Aug 19 '09 at 22:52
See the paragraph with the title "Add tasks wherever you are." – Richard Hoskins Aug 20 '09 at 1:19
yep, there it is - right in front of me and I didn't see it still wondering how I'd do it myself, though :) – warren Aug 20 '09 at 11:55

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.