Follow these steps to schedule an infected hosts trend report using the CLI.
Command syntax
You schedule an infected hosts trend report by using the report schedule command with the following command-line options.
type infected_hosts_trend
report_format csv
Prerequisites
Schedule an infected hosts trend report by using the following command:
report schedule run <frequency> type infected_hosts_trend 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 infected_hosts_trend report_format csv time_frame past_month transport file Created report schedule 5.After the scheduled report runs, the report file is emailed using the configured email server and recipient list.
Verify the configuration for the report schedule.
hostname (config) # show report schedule Periodicity MonthDay WeekDay Time Transport Command 5 monthly end-of-month - 23:59 file infected_hosts_trend report_format csv time_frame past_month Total reporting jobs scheduled: 1.