Hello!
I have an api that uses redis to reduce the load on the mysql database, but for some reason, redis crashes every few days. CPU and ram are not full, redis is not stopped working, however when accessing the api it will not be able to return results. I have to restart redis for the data to be returned. Therefore, I need to create a cron to restart redis every day to fix this.
Please help me execute this command.
Thank you!