New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Delete data with specific hours #10008
Comments
I reckon that should be possible to implement. I have not tried it but looking at the code there might be a chance it already works by specifying @mattab would it make sense to have a new label like "administration/maintenance" or so? Meaning it is an enhancement for administration or so. Or maybe it would make sense at some point to define instead labels for different "users/roles" like "SuperUser, DevOp (administration/maintenance), Marketing, Developer (platform), Web analyst (end user analyzing reports etc), ..." |
i tested but it didn't work :( [RuntimeException] |
Hi @Velborg, Please use it by providing the command in quotes, like the following: You basically need to concatenate the date-time string. If the command notices a space, the following part is interpreted as a new argument. Cheers, |
Hello @RMastop, Thx it's working !! :) Maybe the delete help can notice it ? |
To finish this issue we should update the docs and explain possibility to specify hours, and ideally also write a test for it to make sure we don't break this feature. |
good to see :-) |
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,
The text was updated successfully, but these errors were encountered: