matomo-org/matomo

Delete data with specific hours

Open

#10,008 opened on Apr 5, 2016

 (6 comments) (0 reactions) (0 assignees)PHP (2,894 forks)batch import
EnhancementHelp wanted

Repository metrics

Stars
 (21,803 stars)
PR merge metrics
 (PR metrics pending)

Description

I delete data with the ./console core:delete-logs-data like this : ./console core:delete-logs-data --dates=2016-03-23,2016-03-24 --idsite=1 By default the hours are 00:00:00 and i can't change them.

Is it possible to implement something to delete data but with specific hours ? ex : ./console core:delete-logs-data --dates=2016-03-23,2016-03-24 --hours:23:50:00,23:55:00 --idsite=1 (meaning i want to delete data between 2016-03-23 23:50:00 and 2016-03-24 23:55:00)

Regards,

Contributor guide