CONFIG GLOBAL OBJECT TIME NEW

Level

globalobject+modify

History

Appears in 9.0.0

Description

Add a global time object

Usage

name=<timeobject name> time=(""|hh:mm-hh:mm[;hh:mm-hh:mm]...) weekday=(""|dow[-dow][;dow[-dow]]...) yearday=(""|mm:dd[-mm:dd][;mm:dd[-mm:dd]]...) date=(""|yyyy:mm:dd[:hh:mm][-yyyy:mm:dd[:hh:mm]]) [color=xxxxxx] [comment=<comment>] [update=<0|1|2>]

Remark

Without update parameter, command will return an error if an object with the same name exists.
With update=2, modules which use the object are not reloaded.

Example

config global object time new name=work time=08:00-12:00;14:00-19:00 weekday=1;3;5-7 comment="working hours"
config global object time new name=daysoff yearday=01:01;05:01;05:08;07:14;08:15;11:11;12:25 CACHE_CATEGORY objects