Scheduling a callback server report using the CLI

Prev Next

Follow these steps to schedule a callback server report using the CLI

Command syntax

You schedule a callback server report by using the report schedule command with the following command-line options

type callback_server

report_format csv

Prerequisites

To schedule a Callback Server report for automatic generation and email notification:
  1. Schedule a Callback Server report by using the following command

    report schedule run <frequency> type callback_server report_format csv time_frame <timeFrame> transport <type>

    The recurring report is asigned an identification number. The report ID, type, and specifications are added to the top of the scheduled reports list.

    hostname (config) # report schedule run monthly on end-of-month at 2359 type callback_server report_format csv time_frame past_month transport file Created report schedule 3.

    After the scheduled report runs, the report file is emailed using the configured email server and recipient list.

  2. Verify the configuration for the report schedule.

    hostname (config) # show report schedule
    
    Periodicity      MonthDay       WeekDay  Time    Transport Command
      3 monthly      end-of-month   -        23:59   file      callback_server 
                                                               report_format csv
                                                               time_frame past_month
    Total reporting jobs scheduled: 1.