[sf-lug] email to my future self

Rick Moen rick at linuxmafia.com
Mon Jun 2 20:56:33 PDT 2008

Quoting Matt Price (matt.price at utoronto.ca):

> i'd like to be able to email myself (or someone else) at a set date/time
> to remind myself (or someone else) to do something.

$ at 7:00am Jun 03 [return]
warning: commands will be executed using /bin/sh
at> cowsay "Get up, you lazy bum." | mail rick [return]
at> [ctrl-D] <EOT>
job 5 at Mon Jun  2 20:51:00 2008

[return] and [ctrl-D] indicate keystrokes that would not be otherwise
apparent, above.

In case you might wonder what "cowsay" is, let's ask the cow:

:r! cowsay "Nobody expects talking cows."

< Nobody expects talking cows. >
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||

at, batch, atq, and atrm are all related utilities -- which please see.
All of them deal with the queue of requests for "atd" the "at daemon".

My favourite aspect of "at" is that it is able to parse "at teatime"
(4pm), in addition to "at midnight" and "at noon".

Cheers,                                      "Reality is not optional."
Rick Moen                                             -- Thomas Sowell
rick at linuxmafia.com

More information about the sf-lug mailing list