L.sys time field query re weekdays/weekend

Frederick M. Avolio avolio at decuac.UUCP
Sat Nov 16 03:38:34 AEST 1985


In article <446 at mot.UUCP>, fred at mot.UUCP (Fred Christiansen) writes:
> what is not clear (due to narrow examples and limited explication) is
> if i can formulate time fields like these:
> 	MoWeFr1000-1800TuThSa1200-2300	/* for whatever bizarre reason */
> 	Wk1700-0800SaSu		/* weekday nights and anytime weekends */
> it is this latter formulation that i hope to use.  is this possible?

        I believe you can get the effect you want by putting the
entries on separate lines.  In other words, instead of what you have:

system MoWeFr1000-1800  ACU 1200 7654321 ogin: LOGNAME assword: PASSWD
system TuThSa1200-2300  ACU 1200 7654321 ogin: LOGNAME assword: PASSWD
system Wk1700-00800 ACU 1200 7654321 ogin: LOGNAME assword: PASSWD
system SaSu ACU 1200 7654321 ogin: LOGNAME assword: PASSWD

Fred.



More information about the Comp.unix mailing list