matomo-org/matomo

Delete data with specific hours

Open

#10,008 opened on Apr 5, 2016

View on GitHub
 (6 comments) (0 reactions) (0 assignees)PHP (21,513 stars) (2,847 forks)batch import
EnhancementHelp wanted

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