[comp.unix.questions] Decoding CRONTAB

peter@vd.volvo.se (Peter Hkansson) (12/17/89)

the
small
green
line-
eater:
(mums
mums
mums)
	I am involved in building a scoolplanning system where it is
convinient to express 'preferrable times' something can occur.
Looking at the way CRON expresses this i found this would be OK for
us.
	However, to decode those strings seems tricky, maybe someone
has done it before me (it is certenly done in crontab) and is willing
to share it with me ? 
	Otherwize hints would be appreciated.
(sorry about the spelling, the phone lines does not like winter).

donlash@uncle.UUCP (Donald Lashomb) (12/18/89)

I've written a cron facility for my machine (unix-pc) that includes the
at(1), batch(1), [user] crontab(1) capabilities (originally lacking in
my system).  The code, of course, includes routines to parse crontab
schedules.  My code even lets you say "Sun" or "friday" or "Jan" ...
instead of forcing you to use numeric day_of_week and month_of_year.

If there is interest in it, I will post it.
If YOU want a copy, drop me a line and I'll try to email it to you.

-Don             donlash@uncle.UUCP