# Creating a Scheduled Task

A scheduled task is the task that generates reports periodically within the specified life cycle. It helps the user query synthesis reports and sends the reports to the specified email box periodically.

#### Prerequisites

When you need to use the mailbox to receive the reports, you must complete the configuration of the mail server in the ATIC Management center. For details, see Mail Server.

#### Procedure

1. Choose Report > Comprehensive Report > Scheduled Task.
2. On the Scheduled Task page, click to create a scheduled task.

3. Configure scheduled task information. For details, see Table 1.

   Table 1 Creating a scheduled task
   Parameter | Description | Setting
   --- | --- | ---
   Name | Identifies the name of a task for easy search. | It must contain digits, letters, hyphens, radix point, underscores and "@". The value contains a maximum of 32 characters and cannot start with null.
   Plan | Indicates the execution period of the task. | Example: If you set Life Cycle to 2010-12-8 00:00:00 to 2011-12-8 23:59:59 and Plan to 00:00 on the eighth day of each month, the system generates a report at 00:00 on the eighth day of each month within the period of 2010-12-8 00:00:00 to 2011-12-8 23:59:59.
   Run Time | Indicates the execution time of the task.
   Life Cycle | Indicates the validity period of a task. The task becomes invalid when it expires.
   Report Format | Indicates the format for exporting the report. Multiple formats are available. | You need to select at least one format.
   Description | Indicates the description of a task. | It contains a maximum of 255 characters including letters, digits, underscores, hyphens, spaces, punctuations. It cannot be null.

   Searched data of system reports and Zone reports is as follows:
   - If the task is performed daily, data of the last day is obtained.
   - If the task is performed weekly, data of the last week is obtained.
   - If the task is performed monthly, data of the last month is obtained.
   - If the task is performed yearly, data of the last year is obtained.
4. Configure task contents, that is, reports periodically generated.

   You need to select at least one of the system report and Zone report.

   - Select the system report.

     Click the System Report tab, select the Direction, the Device and report types to be queried, and fill in the email address.

     The generated system reports will be sent to the email address.

   - Select the Zone report.

     Click the Zone Report tab, select the Direction, the Device, the Zone and report types to be queried, and fill in the email address.

     The generated Zone reports will be sent to the email address. Before selecting Send to a user-defined email box, ensure that an Email address has configured for Zone objects. For details, see Adding a Zone.

5. Click OK.

#### Follow-up Procedure

You can view or download reports generated by the scheduled task by performing Downloading Report.

Parent topic: Managing Scheduled Task

Copyright © Huawei Technologies Co., Ltd.