CONFIG OBJECT TIME NEW

Level

object,modify

History

Appears in Netasq 9.0.0

Description

Add a 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 object time new name=work time=08:00-12:00;14:00-19:00 weekday="1;3;5-7" yearday="" date="" comment="working hours"
config object time new name=daysoff time="" weekday="" yearday="01:01;05:01;05:08;07:14;08:15;11:11;12:25" date=""

Cache category

objects