API change for running as cron job
Logs by week with format selector