home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 8
/
FreshFishVol8-CD2.bin
/
bbs
/
util
/
timeplanner-1.0.lha
/
TimePlanner
/
README
< prev
next >
Wrap
Text File
|
1994-05-29
|
6KB
|
176 lines
*****************************************************************************
* *
* PUBLIC DOMAIN SOFTWARE LICENSE *
* *
* The following program(s) and/or data file(s) are declared Public Domain. *
* *
* Provided the end user sticks to the following author's wishes, he or she *
* is authorized to use, copy, analyze and improve the items. *
* *
* Conditions of use: *
* ------------------ *
* *
* 1) No part of this distribution will be omitted (incl. this README file) *
* 2) None of the Copyright texts will be modified. *
* 3) None of the files should be stored and/or converted onto environment- *
* ally damaging media. (paper listings, faxes, etc...) *
* *
* *
* The Author, *
* *
* Laurence Vanhelsuwé *
* *
* Auroville 27/MAY/94 *
* *
* *
*****************************************************************************
Program Title(s): TimePlanner (TP) V1.2 (C) L. Vanhelsuwé 1994
Author: Laurence Vanhelsuwé
0. Short description:
------------------
A simple but handy scheduled events deamon. Sits in the background and
notifies you of pre-programmed events (described in an ASCII configuration
file); can also start batch files at preset dates and/or times.
1. Requirements/Installation:
--------------------------
The configuration file "EVENTS" needs to be present in S: .
Edit your startup-sequence or user-startup (for 2.0+ users) file and add
a line like this:
RUN TimePlanner >NIL:
2. How to use it:
--------------
Create your own personalized "S:EVENTS" file from the template which
acompanies this release.
For exact file record structure, see below.
Simply install the program as outlined above and Timeplanner will
notify you as soon as the first chronological event has arrived...
3. Internals:
----------
The structure of the S:EVENTS file should be as follows:
EVENT_REC 1
EVENT_REC 2
:
EVENT_REC N-1
EVENT_REC N
Where EVENT_REC is an Event Record which has the following format:
WHEN
[EARLY_REMINDER]
ACTION
a. WHEN
-------
has the following one-line structure:
ON [DAY] DD-MMM-YYYY [AT HH:MM]
Examples:
ON 01-JAN-1996
ON MON 01-JAN-1996
ON 01-JAN-1996 AT 09:30
ON MON 01-JAN-1996 AT 09:30
b. EARLY_REMINDER
-----------------
is optional and has the following structure:
REMIND MONTH, DAY, HOUR, N DAYS, N HOURS, N MINUTES
Examples:
REMIND 5 MINUTES
REMIND 14 DAYS, 7 DAYS, 3 DAYS, 1 DAYS
REMIND 2 HOURS, 1 HOURS, 15 MINUTES, 5 MINUTES
c. ACTION
---------
can be a simple on-screen notification and/or a launching of a
program.
Notification has the following structure:
NOTIFY "MESSAGE"
Examples:
NOTIFY "Mr. Wizard on TV soon !"
NOTIFY "Solar eclipse."
Launching a program is done by adding a line with the following structure:
Note that TimePlanner launches batchfiles for extra flexibility.
EXECUTE "batchfile"
Examples:
EXECUTE "S:WEEKLY_BACKUP"
EXECUTE "S:MONTHLY_BACKUP"
EXECUTE "S:DAILY_EXCH_RATE_DOWNLOAD"
Some examples of complete event records can be found in the example
EVENTS file which is part of this release.
Note that any lines in the EVENTS file which can not be identified as one of
the above record field lines, will be interpreted as comments.
This allows you to add some informative comments, notes, etc...
4. Limitations/Warnings:
---------------------
No user-interface.
No command line options.
**!! CRASH !!**
Stick rigidly to the structure of an event record.
Don't add exotic characters. (The parser isn't one of the most flexible!)
Even though the code might not be of commercial quality on the parsing side,
TimePlanner has run for years on my machine without a hitch, and it has
proven very useful indeed !
5. History:
--------
If UNIX can have cron, then ...
6. Future:
-------
Dependent on user's feedback.
One neat change would be to use the new file notification feature in 2.0
to detect changes to S:EVENTS.
This way, you wouldn't have to reboot your Amiga to make a new EVENTS file
active. (This is currently a requirement...)
7. Credits:
--------
L. Vanhelsuwé
Christinastraat 105
B-8400 Oostende
Belgium