Using statreport from the command-line: cd \Apache24\htdocs\datawise\tabularreports\statreport \Php\php.exe ForStatReport.php [g=group] or [s=s1,s2,s3...] options Where options are: button="" or "csv" or "txt" (note: default is blank, do not include the quotes ) g=group# s=sensor list (comma seperated) step = time step (e.g., 1h, 1d, 30m) d=end date (m/d/y) ... default is today t=end time (hhmm) ... default is now even=(0 or 1) ... 1 to start on even time step order=(0 for newest first, 1 for oldest first) totals=(0 for none, 1 for totals at end) file=Output File Name (default is standard output)