
from statsutils import *

cmds = ["mount%", "unmount%", "dry%", "recover%", "trash%", "robot_recover%", "scan%", "homing%"]
conn = get_stats_connection()

start= "01/03/19" 
end=   "01/04/19"  
   
print_stats(cmds, start, end)

for cmd in cmds:
    print_cmd_stats (cmd, start, end)

print_cmd_records("recover%", start, end, "error")        
conn.close()   

