プライマリ・コンテンツに移動
Oracle® Traffic Directorコマンドライン・リファレンス
11g リリース1 (11.1.1.9.0)
B66437-05
  目次へ移動
目次
索引へ移動
索引

前
 
次
 

enable-event

構文

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.

説明

このコマンドを使用して、作成したイベントを有効にします。

オプション

common_optionsの詳細は、helpコマンドを実行してください。

--time|-t

このイベントを起動する時刻を指定します。時刻の書式は、hh:mmです(12:30など)。

--month|-m

このイベントを起動する月を指定します。値の範囲は1から12です。

--day-of-week|-k

このイベントを起動する曜日を指定します。値として、SunMonTueWedThuFriまたはSatを指定できます。

--day-of-month|-d

このイベントを起動する月内の日を指定します。値の範囲は1から31です。

--interval|-r

このイベントを起動する時間間隔を指定します。値の範囲は60から86400秒です。

--config|-c

イベントを有効にする構成を指定します。

--command|-C

イベントで実行するコマンドを指定します。値として、restartreconfigrotate-logrotate-access-logupdate-crlなどの実行可能な任意のコマンドを指定できます。

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

終了コード

次の終了値が戻されます。

0: コマンドの実行に成功しました。

>0: コマンドの実行時にエラーが発生しました。

終了コードと構文表記の詳細は、helpコマンドを実行してください。