Table of Contents

Search

  1. Preface
  2. Overview of the Server Manager Command Line Interface
  3. Usage Scenario: Using Server Manager CLI Commands to Run Replications
  4. Command Reference

Command Line Interface for the Server Manager

Command Line Interface for the Server Manager

show task history

show task history

Displays information about replication schedules and unscheduled tasks that are running and that have previously run. This information includes the schedule status, configuration associated with the schedule, task status and return code, and date and time when each schedule and task started.

Syntax

show task history [
number_of_chain_ids
offset
] [-r|-s|-f]
The following short form is acceptable:
sth [
number_of_chain_ids
offset
] [-r|-s|-f]

Parameters

The following table describes the command parameters:
Parameter
Description
number_of_chain_ids
The maximum number of chain IDs to display.
Default value: 15
offset
The sequential number of the chain ID that the command displays as the first of the schedule instances.
Default value: 0
[-r|-s|-f]
The status of the schedule instances and tasks for which to display information. Valid values are:
  • -r
    for running.
  • -s
    for success.
  • -f
    for failed.
If you omit this parameter, the command displays information for all schedule instances or tasks.

Example

The following command displays information about running schedules and tasks:
show task history

Sample Output

0)chain_id:'#40' schedule_name:'ora2ora_ondemand' status:'running' start_on:'01/10/2013' start_at:'09:32:18' config:'ora2ora2' 0)run_id: '#89' | task_name: 'ora2ora_ondemand_extract' | status: 'running' | return_code: '0' | block_type: 'no block' 1)run_id: '#88' | task_name: 'ora2ora_ondemand_sendFile' | status: 'sleeping' | return_code: '0' | block_type: 'blocked by dependency' 2)run_id: '#87' | task_name: 'ora2ora_ondemand_apply' | status: 'sleeping' | return_code: '0' | block_type: 'blocked by dependency' 1)chain_id:'#38' schedule_name:'ora2ora_admin' status:'running' start_on:'01/09/2013' start_at:'16:19:19' config:'ora2ora' 0)run_id: '#83' | task_name: 'ora2ora_admin_extract' | status: 'sleeping' | return_code: '0' | block_type: 'blocked by task' 1)run_id: '#82' | task_name: 'ora2ora_admin_sendFile' | status: 'sleeping' | return_code: '0' | block_type: 'blocked by dependency' 2)run_id: '#81' | task_name: 'ora2ora_admin_apply' | status: 'sleeping' | return_code: '0' | block_type: 'blocked by dependency'

0 COMMENTS

We’d like to hear from you!