[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Holidays and planned downtime
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Holidays and planned downtime
- From: TJ Yang <tjyang2001 (at) gmail.com>
- Date: Wed, 17 Mar 2010 14:15:14 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=TZ5iF7JTOEAYOJ4eAVxR7LS6aGUZbL8WsUZXJkLme1k=; b=CZPRLJRaVVGyiRwyC+OYKJ9D0ddZHG1NawOce9/STDlT0TLMXY6Rz0oGbFVM/A4itv SmjDUNDuP4X/lKq7it0QyoEtgmfPqHp9cK+UK83iJGNdj6q7uFyeeQYKwqJFHsmSDKeX JRV5VQYSQDuvEncY3H9OdLzvUjl8JTlhjIksE=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=mGKqW3/sehG/SlrVq1XRTUcXlW+y8Lkp3PEJcEUJyTGl8pl8JSvHGlCahoI55G4PHK ZIrCQ+b7/5nLe74pp5jNb6CoBIQ5TMY26KDHpuRe+R1KeY2NmmuEnvmIcI+vEtXIR7iI 7bSeRdiWaVuObJyXRVSru85r4winjR/DKA1C8=
- References: <9583BE62E9201646A6D5E8B9D3E27B8801016F11 (at) sv-int-mail1.cegekanv.corp.local> <2b5631e71003170700n6d53ca6u727fd0f68a153483 (at) mail.gmail.com> <BAY133-W674E359C55EAF9A840857B42C0 (at) phx.gbl> <2b5631e71003171114q5df40f4asf2ef8aa82772f955 (at) mail.gmail.com> <BAY133-W762C5D493DF1855773085B42C0 (at) phx.gbl> <BAY133-W18CF42A31206B15CFE7329B42C0 (at) phx.gbl>
Thanks for the info.
So the missing line in hobbitserver.cfg is really just a format variable.
HOLIDAYFORMAT="%d/%m" # How holiday dates
are displayed
To enable/disable holiday alerting, your following lines are the instruction.
On Wed, Mar 17, 2010 at 1:57 PM, <wiskbroom (at) hotmail.com> wrote:
>
> By the way, here is the top portion for this file:
>
> # If you want to handle alerts on a holiday
> # like alerts on sunday set
> # HOLIDAYLIKEWEEKDAY=0
> # or like fridays then set
> # HOLIDAYLIKEWEEKDAY=5
> # To disable the holiday calculation set
> # HOLIDAYLIKEWEEKDAY=-1
>
> HOLIDAYLIKEWEEKDAY=-1 # -1= no holiday calculation
> # 0=handle holidays like sundays
> # 6=handle holidays like saturdays
>
> So you can disable holidays altogether, or handle in any way you need, to include adding your own even to this file.
>
>
>
>>>>> I checked 4.3.0 src tree, hobbit-holidays.cfg is inside
>>>>> hobbitd/etcfiles directory.
>>>>> Not sure why Henrik didn't add HOLIDAYFORMAT into hobbitserver.cfg.DIST file.
>>>>
>>>> Perhaps I am mis-reading this, but isn't this defined in
>>>> /etc/hobbit-holidays.cfg?
>>>
>>> HOLIDAYFORMAT is defined in hobbtserver.cfg.
>>> See http://www.hswn.dk/hobbit-cgi/viewconf.sh?server for example.
>>
>> Not in my version, I am running 4.3.0-0.beta2.
>>
>>
>>>>> Maybe this is considered an optional feature ?
>>>>>
>>>>> Do you think holiday should be enabled by default for 4.3.0 ?
>>
>> Judging from the above, I would guess so, never used any earlier versions.
>>
>> To unsubscribe from the hobbit list, send an e-mail to
>> hobbit-unsubscribe (at) hswn.dk
>>
>>
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe (at) hswn.dk
>
>
>
--
T.J. Yang