<<

NAME

runreport.pl - Run pre-existing saved reports

SYNOPSIS

runreport.pl [ -h | -m ] [ -v ] reportID [ reportID ... ]

 Options:
   -h --help       brief help message
   -m --man        full documentation, same as --help --verbose
   -v --verbose    verbose output

 Arguments:
   reportID        report ID Number from saved_sql.id, multiple ID's may be specified

OPTIONS

-help

Print a brief help message and exits.

-man

Prints the manual page and exits.

-v

Verbose. Without this flag set, only fatal errors are reported.

DESCRIPTION

This script is designed to run existing Saved Reports.

USAGE EXAMPLES

runreport.pl 16

In the most basic form, runs the report specified by ID number from saved_sql.id, in this case #16, outputting the results to STDOUT.

runreport.pl 16 17

Same as above, but also runs report #17.

TO DO

 ~ Complete testing for Sendmail related options: --email, --to, and --from.
 ~ Allow Saved Results option.
 ~ Possible --format option for CSV or tab-delimited output.

SEE ALSO

Reports - Guided Reports

<<