[PLUG] Resolved: Reminder utility

Richard C. Steffens rsteff at comcast.net
Tue Mar 13 16:05:44 UTC 2012


On 03/13/2012 08:40 AM, wes wrote:
> On Tue, Mar 13, 2012 at 8:25 AM, Richard C. Steffens<rsteff at comcast.net>wrote:
>
>> Is there a command that will send a simple line via e-mail to someone other than myself?
> if you want it to repeat, just use cron. you can use the "mail" command to
> do what you describe. I used to do this to send text messages to my phone
> as reminders before I switched to google calendar.
>
> this will do what you describe:
>
> 0 19 * * 5 echo "remember to do that thing tomorrow" | mail
> wife at email.example
>

Sounds simple enough. I haven't used cron for a few years but I remember 
it wasn't too hard to figure out.

> reply with any changes you need made and I will be happy to tune it for
> you. else, you can view the man pages for crontab and mail.

Thanks.

> I keep this as the first line of my crontab:
>
> #min hour date month d-o-w(0-6 sun-sat)
>
> the # makes it a comment, meaning cron will ignore it. the rest describes
> what the first 5 fields of the cron entry are for.

Very helpful.

-- 
Regards,

Dick Steffens





More information about the PLUG mailing list