1
.\" Licensed to the Apache Software Foundation (ASF) under one .\"
2
.\" or more contributor license agreements. See the NOTICE file .\"
3
.\" distributed with this work for additional information .\"
4
.\" regarding copyright ownership. The ASF licenses this file .\"
5
.\" to you under the Apache License, Version 2.0 (the .\"
6
.\" "License"); you may not use this file except in compliance .\"
7
.\" with the License. You may obtain a copy of the License at .\"
9
.\" http://www.apache.org/licenses/LICENSE-2.0 .\"
11
.\" Unless required by applicable law or agreed to in writing, software .\"
12
.\" distributed under the License is distributed on an "AS IS" BASIS, .\"
13
.\" WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. .\"
14
.\" See the License for the specific language governing permissions and .\"
15
.\" limitations under the License. .\"
18
config:clock \- Configure system clock settings.
20
config:clock [options]
22
You use the config:clock command specify system date, time, and timezone settings.
23
A full restart of proxy software occurs when these changes take place. This command
24
requires root privileges, see config:root command.
26
The following options are supported for the config:clock command:
27
.SS "date <mm/dd/yyyy>"
28
Specifies the month, day, and year.
30
Specifies the hour, minute, and seconds values in the local time zone. The hour value
32
.SS "timezone <number from list | list>"
33
List the available timezones, or specify the timezone from the numbered list.
35
.SS "Example 1. Specifying system date"
38
traffic_shell> config:clock date
40
traffic_shell> config:clock date 10/15/2001
41
(Stopping Proxy Software)
43
(Starting Proxy Software)
46
.SS "Example 2. Listing available timezones"
49
traffic_shell> config:clock timezone list
58
.SS "Example 3. Specifying the local timezone"
61
traffic_shell> config:clock timezone 109