Scheduling a malware activity report using the CLI

Prev Next

Follow these steps to schedule a malware activity report using the CLI.

Command syntax

You schedule a Malware Activity report by using the report schedule command with the following command-line options

type malware_activity

report_format pdf

Prerequisites

To schedule a malware activity report with email notification:
  1. Schedule a malware activity report by using the following command:

    report schedule run <frequency> type malware_activity report_format pdf time_frame <timeFrame> transport <type>

    The recurring report is assigned 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 malware_activity report_format pdf time_frame past_month transport file Created report schedule 6.

    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
    6 monthly      end-of-month   -        23:59   file        malware_activity 
                                                               report_format psd
                                                               time_frame past_month
    Total reporting jobs scheduled: 1.