--- title: "Scheduling a malware activity report using the CLI" slug: "scheduling-a-malware-activity-report-using-the-cli" tags: ["Network Security (NX)", "Product Usage"] updated: 2026-09-02T17:27:05Z published: 2026-09-02T17:27:05Z canonical: "docs.trellix.com/scheduling-a-malware-activity-report-using-the-cli" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Scheduling a malware activity report using the CLI 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 `run <frequency>` where `<frequency>` specifies when the report is run: - `daily at <hh:mm>` Run the report daily, where `<hh:mm>` specifies the time to start based on a 24-hour clock. - `hourly at <mm>` Run the report hourly, where `<mm>` is the number of minutes into the hour. - `monthly on {<date> | end_of_month} at <hh:mm>` Run the report monthly, where `<date>` is the day of the month and `<hh:mm>` specifies the time to start based on a 24-hour clock. - `weekly every <day> at <hh:mm>` Run the report weekly, where `<day>` is the day of the week and `<hh:mm>` specifies the time to start based on a 24-hour clock **`type malware_activity`** **`report_format pdf`** `time_frame <timeFrame>` where `<timeFrame>` the output file format: - `past_week` - `past_month` - **`past_3_months`** ### Prerequisites - The SMTP server or domain is configured and the email address of the report recipient is configured. - Admin or Operator access to the SmartVision appliance. To schedule a malware activity report with email notification: 1. Log in to the appliance CLI and go to configuration mode: ``` hostname > enable hostname # configure terminal ``` 2. Schedule a malware activity report by using the following command: ``` report schedule run type malware_activity report_format pdf time_frame transport ``` 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. 3. 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. ``` :