[net.unix] L.sys time field query re weekdays/weekend

fred@mot.UUCP (Fred Christiansen) (11/12/85)

according to the UUCP admin tutorial i have, the time field consists
of a days-of-the-week AND times-of-day (range).  this would seem to
suggest that the following are acceptable:
	Any			/* absolutely any time, any day */
	Wk1800-0800		/* weekdays, 6pm to 8am, only */
	MoWeFr0800-1800		/* fairly obvious by now */
while these are not acceptable:
	1800-0800		/* any day, between 6pm and 8am */
	Never			/* this gets the effect i want, anyhow */

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?
-- 
<< Generic disclaimer >>
Fred Christiansen ("Canajun, eh?") @ Motorola Microsystems, Tempe, AZ
UUCP:  {seismo!terak, trwrb!flkvax, utzoo!mnetor, ihnp4, attunix}!mot!fred
ARPA:  oakhill!mot!fred@ut-sally.ARPA          "Families are Forever"

fred@mot.UUCP (Fred Christiansen) (11/15/85)

> what is not clear (due to narrow examples and limited explication) is
> if i can formulate time fields like these:
> 	Wk1700-0800SaSu		/* weekday nights and anytime weekends */

following up on the obvious suggestion that we just "try it out", we
(the UUCP admin and i) tried this out today (Thursday):
	Sa1000-1800Th
and promptly were told (in LOGFILE) "WRONG TIME TO CALL".  one suggestion
coming in was to separate with "|" (evidently supported at some sites).
so, we tried:
	Sa1000-1800|Th
no dice!  well, we'll keep trying and hoping for suggestions from netland.
assuming its possible, is the trick the order of days of the week?  if so,
what order?

i failed to mention originally:  this is for System V R2 on a VAX.  thx.
-- 
<< Generic disclaimer >>
Fred Christiansen ("Canajun, eh?") @ Motorola Microsystems, Tempe, AZ
UUCP:  {seismo!terak, trwrb!flkvax, utzoo!mnetor, ihnp4, attunix}!mot!fred
ARPA:  oakhill!mot!fred@ut-sally.ARPA          "Families are Forever"

avolio@decuac.UUCP (Frederick M. Avolio) (11/15/85)

In article <446@mot.UUCP>, fred@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.

sob@neuro1.UUCP (Stan Barber) (11/16/85)

Are you running SYSTEM V?

If so, you are out of luck, I think with what you want to do.
If running 4.2, duplicate the L.sys lines with the different times you want.
I think this will work.

machinename MoWeFr800-1200 ..
machinename SaSu ...

As for solutions to two examples you gave....
Never is really None
1700-800 should be Any1700-800

Hope this is helpful.
-- 
Stan		uucp:{ihnp4!shell,rice}!neuro1!sob     Opinions expressed
Olan		ARPA:sob@rice.arpa		       here are ONLY mine &
Barber		CIS:71565,623   BBS:(713)660-9262      noone else's.