From: Wojtek Walczak <gminick@hacker.pl>
Subject: Re: Is there a CALENDER reminder in emacs or a gnu tool or in unix
Date: Sat, 28 Sep 2002 21:26:13 +0000 (UTC) [thread overview]
Message-ID: <slrnapce53.2il.gminick@hannibal.localdomain> (raw)
In-Reply-To: b00bb831.0209281106.30436a0@posting.google.com
Dnia 28 Sep 2002 12:06:21 -0700, gnuist006 napisał(a):
> Suppose I want to be reminded in emacs or on shell window on a certain day
> two day before and then 1hr before it?
Maybe it'll help you. It's untested, I wrote it two minutes ago ;)
You need atd and perl. On my system at sends results of its work to
a mailbox, so I'm finding reminding notes on there.
Code is here: <http://hacker.pl/gminick/pliki/reminder.txt>
It asks you about three things:
1) time
2) date
3) task
It calcuates everything by its own.
How does it looks?
% perl reminder.pl
Hour (hh:mm): 20:30
Date (mm/dd/yy): 12/31/2002
Task: c.u.p meeting!!!
warning: commands will be executed using /bin/sh
job 23 at 2002-12-29 20:30
warning: commands will be executed using /bin/sh
job 24 at 2002-12-31 19:30
% _
Real date of meeting is 20:30, 12/31/2002.
So, as you wanted, you'll be reminded on
20:30, 2002-12-29 -- two days before
and on
19:30, 2002-12-31 -- an hour before
HTH :)
--
[ Wojtek gminick Walczak ][ http://gminick.linuxsecurity.pl/ ]
[ gminick (at) hacker.pl ][ gminick (at) underground.org.pl/ ]
prev parent reply other threads:[~2002-09-28 21:26 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-28 19:06 Is there a CALENDER reminder in emacs or a gnu tool or in unix gnuist006
2002-09-28 19:34 ` Chris F.A. Johnson
2002-09-28 20:51 ` Kai Großjohann
2002-09-28 22:28 ` Robert Marshall
2002-09-29 15:30 ` Kai Großjohann
2002-09-29 10:23 ` Oliver Scholz
2002-09-28 21:26 ` Wojtek Walczak [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=slrnapce53.2il.gminick@hannibal.localdomain \
--to=gminick@hacker.pl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).