runreport.pl - Run pre-existing saved reports
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 --format=s selects format. Choice of text, html, csv, or tsv -e --email whether to use e-mail (implied by --to or --from) --to=s e-mail address to send report to --from=s e-mail address to send report from --subject=s subject for the e-mail Arguments: reportID report ID Number from saved_sql.id, multiple ID's may be specified
Print a brief help message and exits.
Prints the manual page and exits.
Verbose. Without this flag set, only fatal errors are reported.
Current options are text, html, csv, and tsv. At the moment, text and tsv both produce tab-separated tab-separated output.
Whether to use e-mail (implied by --to or --from).
E-mail address to send report to. Defaults to KohaAdminEmailAddress.
E-mail address to send report from. Defaults to KohaAdminEmailAddress.
Subject for the e-mail message. Defaults to "Koha Saved Report"
This script is designed to run existing Saved Reports.
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.
Reports - Guided Reports