--- title: "Scheduling a Malware Activity report using the CLI" slug: "scheduling-a-malware-activity-report-using-the-cli-1" tags: ["Product Usage", "EX 11.x", "FX 11.x", "AX 11.x", "NX 11.x", "Network Security"] updated: 2026-09-12T20:42:23Z published: 2026-09-12T20:42:23Z canonical: "docs.trellix.com/scheduling-a-malware-activity-report-using-the-cli-1" --- > ## 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 Use the commands in this section to schedule a consolidated Malware Activity report. > [!NOTE] > Note > > Before you can schedule a Malware Activity report to be generated and sent through email, ensure that the SMTP server or domain is configured. You must also specify the email address of the report recipient. For details about configuring these report settings, see the Network Security System Administration Guide **To schedule a Malware Activity report for automatic generation and email distribution:** 1. Enable the CLI configuration mode. ``` hostname > enable hostname # configure terminal ``` 2. Specify how often to run the report. - To update daily: ``` hostname (config) # report schedule run daily at ``` where `<hh:mm>` specifies the time to start based on a 24-hour clock. - To update hourly: ``` hostname (config) # report schedule run hourly at ``` where `<mm>` is the number of minutes within the hour. - To update monthly: ``` hostname (config) # report schedule run monthly on { | end of month} at ``` where: `<date>` is the day of the month when the update should occur. `<hh:mm>` specifies the time to start based on a 24-hour clock. - To update weekly: ``` hostname (config) # report schedule run weekly every at ``` where: `<day>` is the day of the week the when update should occur. `<hh:mm>` specifies the time to start based on a 24-hour clock. 3. Specify a Malware Activity report. ``` hostname (config) # report schedule run type malware_activity ``` 4. Specify an output format for the report. - To write the report in .pdf format: ``` hostname (config) # report schedule run type malware_ activity report_format pdf ``` - To write the report in .csv format: ``` hostname (config) # report schedule run type malware_ activity report_format csv ``` - To write the report in both .pdf and .csv formats: ``` hostname (config) # report schedule run type malware_ activity report_format both ``` 5. Specify the time period for the reports. - To specify for the past 1 hour: ``` hostname (config) # report schedule run type malware_ activity report_format time_frame past_hour ``` - To specify for the past day: ``` hostname (config) # report schedule run type malware_ activity report_format time_frame past_day ``` - To specify for the past week: ``` hostname (config) # report schedule run type malware_ activity report_format time_frame past_week ``` - To specify for the past month: ``` hostname (config) # report schedule run type malware_ activity report_format time_frame past_month ``` 6. Specify the delivery method for the report. The default delivery is email. - To deliver the report through email: ``` hostname (config) # report schedule run type malware_activity report_format time_frame transport email ``` - To deliver the report as a file: ``` hostname (config) # report schedule run type malware_activity report_format time_frame transport file ``` A Malware Activity report is added to the scheduled list. The following message appears: ``` Configure email recipients for report schedule to take effect. ``` ``` Created report schedule 3. ``` 7. Verify the configuration for the report schedule. ``` hostname (config) # show report schedule ``` ``` Periodicity  MonthDay       WeekDay  Time    Transport Command ``` ``` 1 weekly       -              Wed      12:00   file      infected_hosts_trend report_format csv ``` ``` time_frame past_month ``` ``` 2 weekly       -              Wed      12:00   file      executive_summary report_format pdf ``` ``` time_frame past_week ``` ``` 3 daily        -              -        12:00   file      malware_activity report_format csv ``` ``` time_frame past_week ```