Previous page Next page

email

Sets a schedule and target list for automatic mailings of reports.

Syntax
email { ( <report> 
 
            [ <object> ] 
 
            [ customer <name> | all ]
 
            [ prefix <prefix> ] )
 
        | ( trend <filename>
 
            [ application <app-name> ] ) }
 
      [ to <list> ] 
 
      schedule <minute> [ <hour> [ <date> [ <month> [ <day> ]]]]
 

 
no email [ <report> [ <object> ]]
 
Arguments
Prerequisites

Must be in configuration mode (config), which requires privileged-level access, to set a schedule. One-time mailing of a report can be done with log-in level access.

Occurrence

Available for use multiple times in the configuration.

Default

* for all schedule increments (except minute)

Description

Use the email command to schedule automatic mailings of reports. You can set one schedule for each report; enter the command once for each.

You can also use this command directly from the command line (exec mode) to email reports immediately without needing to schedule it. In this case, you cannot use the schedule keyword.

Reports will be sent by the management module via the mail server defined by the smtp-server command. You should verify that the CNA management module’s eth0 interface has access to the mail server (SMTP servers typically listen on tcp port 25).

Use the no form of the command with no parameters to cancel all automatic e-mailing.

Use the no form of the command with a report name (and object type if required) to cancel a specific report schedule.


Previous page Next page