Skip Headers
Oracle® Traffic Director Command-Line Reference
11g Release 1 (11.1.1.7)

Part Number E21037-03
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

enable-event

Syntax

tadm enable-event common_options (--time=hh:mm [--month=1-12] [--day-of-week=sun|mon|tue|wed|thu|fri|sat] 
[--day-of-month=1-31]) | --interval=number_of_seconds ] --config=config_name --command=restart|reconfig|rotate-log|rotate-access-log|update-crl|commandline

For more information about the syntax notations, run the help command.

Description

Use this command to enable an event that you have created.

Options

For information about common_options, run the help command.

--time|-t

Specify the time when you want this event to start. The time format is hh:mm, for example, 12:30.

--month|-m

Specify the month when you want this event to occur. The range of values is 1 to 12.

--day-of-week|-k

Specify the day of the week when you want this event to occur. The values can be Sun, Mon, Tue, Wed, Thu, Fri, or Sat.

--day-of-month|-d

Specify the day of the month when you want this event to occur. The range of values is 1 to 31.

--interval|-r

Specify the time interval at which you want this event to occur. The range of values is 60 to 86400 seconds.

--config|-c

Specify the configuration for which you want to enable an event.

--command|-C

Specify the command the event executes. The value can be restart, reconfig, rotate-log, rotate-access-log, update-crl, or any executable command.

Example

tadm enable-event --user=admin --password-file=./admin.passwd --host=admin.example.com --port=8989 --no-prompt --time=20:30 --month=11 
--day-of-week=mon --day-of-month=15 --config=www.example.org 
--command=restart

Exit Codes

The following exit values are returned:

0: command executed successfully

>0: error in executing the command

For more information about exit codes and syntax notations, run the help command.

See Also

help, create-event, delete-event, list-events, disable-event