In the hosts.cfg, DOWNTIME can specify times when bad results should be ignored rather than acted on. The syntax documents two forms:
DOWNTIME=day:starttime:endtime[,day:starttime:endtime] DOWNTIME=columns:day:starttime:endtime:cause[,columns:day:starttime:endtime:cause]
The first form behaves as expected. The second form does not. When the *cause* portion contains more than one word, it must be enclosed in double quotes. When this is done, the subsequent portions of the line are not interpreted correctly.
For example, this works: DOWNTIME=http:60:*:*:"No weekends"
but only the first piece of this works: DOWNTIME=http:6:*:*:"No Saturday",http:0:*:*:"No Sunday"
I've tried commas and semicolons as the field delimiters.
Can anyone explain what I'm doing wrong, or confirm that they see the same behavior?
-- Do things because you should, not just because you can.
John Thurston 907-465-8591 John.Thurston at alaska.gov Enterprise Technology Services Department of Administration State of Alaska