[システム定義] > スケジュール済みジョブでの「Run as tz」の使用Issue <!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } この記事では、スケジュール済みジョブ [sysauto] テーブル、およびこのテーブルから拡張されたテーブル ( 、スケジュール設定済みデータ収集 [sysauto_pa]、 、レポートのスケジュール済みメール [sysauto_report]、 、予定されているデータインポート [scheduled_data_import] など、このテーブルから拡張される [実行時のタイムゾーン] フィールドの使用を明確にします。この [実行時のタイムゾーン] フィールドを表示するようにフォームを構成する必要がある場合があります。 Release<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } Resolution<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } 1.[実行時のタイムゾーン] フィールドに指定された値は、ジョブの実行時に日付と相対日付関数が指定されているクエリに適用されます。レコードに指定された時間 (ジョブが実行される時間) とは関係ありません。 2.「実行時のタイムゾーン」のデフォルト値は、「実行方法」フィールドで指定されたユーザーのユーザープロファイルで指定されたタイムゾーンになります(このジョブを作成したユーザーがデフォルトになります)。ただし、別のタイムゾーンでジョブを実行する場合は、[実行時のタイムゾーン] フィールドでタイムゾーンを手動で選択できます。 3.日付や相対日付関数 (昨日など) がジョブで使用されている場合、これらの日付の値は、選択したタイムゾーンを基準とします。 4.これを説明するために、次のスケジュール済みジョブ (ユーザーのタイムゾーン:システム管理者は GMT です) を検討してください。 5.ジョブが実行されると、4行目の結果は次のようになります。 テスト TZ の日付:タイムゾーン:GMT日付: 2019-10-17 02:00:00 6.[タイムゾーン:米国/太平洋] を [タイムゾーンとして実行] (次のように) 選択した場合、結果は米国/太平洋のタイムゾーンに従って時刻を反映するように変更されます。 結果: テスト TZ の日付:タイムゾーン:米国/太平洋日付: 2019-10-16 19:00:00 7.異なるタイムゾーンが選択されている場合の結果については、以下のスクリーンショットを参照してください。 8.Orlando リリース以降、ジョブを作成するときにタイムゾーンを選択し ([タイムゾーン] フィールドを使用)、スケジュール済みジョブを実行する時刻を指定できるようになります。タイムゾーンフィールドの詳細については、 選択したスクリプトの自動実行のドキュメントを参照してください。