help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: second Saturday


From: Frank Smith
Subject: Re: second Saturday
Date: Mon, 26 Sep 2005 17:16:08 -0500

--On Monday, September 26, 2005 18:02:03 -0400 "Yang, Chi-Tai" <address@hidden> 
wrote:

> 
> Is there an easy generic way to define 2nd Saturday in cfengine using
> time class?  Or do I need a perl script? 

There's probably a more elegant solution, but defining a class:

week2 = ( Day8 Day9 Day10 Day11 Day12 Day13 Day14 )

and then you can use that class plus the predefined weekday class
to make a construct like:

week2.Saturday 

which should do what you want (although of course you probably
also want to limit it further so it will only run once).

Frank

> 
> Thanks. 
> 
> Chi-Tai Yang  /  RBC Capital Markets 
> 212-858-7074   (cell) 917-807-1437 
> address@hidden 
> 
> ________________________________________________________________________
> __________________________________________________________
> 
> 
> 
> This E-Mail (including any attachments) may contain privileged or
> confidential information.  It is intended only for the addressee(s)
> indicated above.
> 
> The sender does not waive any of its rights, privileges or other
> protections respecting this information.  
> 
> Any distribution, copying or other use of this E-Mail or the information
> it contains, by other than an intended recipient, is not sanctioned and
> is prohibited.
> 
> If you received this E-Mail in error, please delete it and advise the
> sender (by return E-Mail or otherwise) immediately.
> 
> 
> 
> This E-Mail (including any attachments) has been scanned for viruses. 
> 
> It is believed to be free of any virus or other defect that might affect
> any computer system into which it is received and opened. 
> 
> However, it is the responsibility of the recipient to ensure that it is
> virus free. 
> 
> The sender accepts no responsibility for any loss or damage arising in
> any way from its use.
> 
> 
> 
> E-Mail received by or sent from RBC Capital Markets is subject to review
> by Supervisory personnel. 
> 
> Such communications are retained and may be produced to regulatory
> authorities or others with legal rights to the information.



-- 
Frank Smith                                      address@hidden
Sr. Systems Administrator                       Voice: 512-374-4673
Hoover's Online                                   Fax: 512-374-4501





reply via email to

[Prev in Thread] Current Thread [Next in Thread]