Revision history for HowtoSalesreportAutoRun

Revision [2107]

Last edited on 2011-08-18 03:36:55 by PhilDaintree
this script takes a number of parameters
~ -r reportnumber (the number of the weberp report)
~ -n reportname (the name you want to give the report)
~ -e emailaddress[;emailaddress;emailaddres...] (who you want to send it to)
~ -d database name (the mysql db to use for the data for the report)
~ [-t reporttext ] (some words you want to send with the report-optional)
~ [ -H weberpHOME] (the home directory for weberp - or edit the php file)
If you wanted to email report number 5 and call it MyReport to and and my database is weberpdemo then you would enter the command:
path_to_webERP_install/report_runner.php -r5 -nMyReport; -dweberpdemo -t"Please find attached MyReport"

Revision [2106]

The oldest known version of this page was created on 2011-08-18 03:29:17 by PhilDaintree
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki