Have you checked the documentation?
I have windows server can i do this ?
The documentation is for Linux, but should give you an idea on how to do it.
By the way, what database are you using? Hopefully not H2.
I don't know i install it in the windows server normely in RDP
How can i know which database ?
The default is H2. You should never use it for a production server.
What do i have to do now ?
Install a proper database (e.g. MS SQL Server) and create a script to clean up old data.
Please can you tell me how can a create a scipt
I can't provide step by step guide for that. I don't even have a Windows machine. But the documentation should give you an idea of what it should look like.
Install mysql server on windows and then you can use CMD to clear database history .
https://www.liquidweb.com/kb/install-mysql-windows/
Thank you i will try it but i don't know how to clear database in CMD
Please can you give me the command ?
Hello Islam,
Install phpmyadmin on your localhost and then create an Event in the phpmyadmin.
Can i create an event to clear history every day ??
hello
I want to clear the history
how do I do that ?
Or I just want to set the history for 1 month
pleas help me