Looking for a PHP Script to delete all keys of the specified Redis database
$10-30 USD
Terminado
Publicado hace más de 3 años
$10-30 USD
Pagado a la entrega
Looking for a PHP Script to achieve the follows:
We will set a cronjob to run the PHP Script.
Delete all keys of the Redis database 0 (CLI command: redis-cli -n 0 FLUSHDB) if the free memory of the server is less than 1GB (CLI command: free -h) once the PHP Script run by the cronjob.
Requiremnts:
1. We will upload the script to the same server of the redis, so the script should be run on the same server of the redis server
2. The PHP script should not be encrypted, so that we can modify the script ourselves
System of the server:
OS: debian
Version: 8 (jessie)
Hi,
This is a fairly simple task if you are sure that you want to delete ALL the keys in a currently connected Redis database or all databases. It can be accomplished in a few lines of code and I can create that script in PHP/Python/Bash. In PHP, it can be done with "phpredis". Just let me know if you want me to do it for you :)
Thanks,
Suleman
$13 USD en 1 día
5,0 (3 comentarios)
2,1
2,1
4 freelancers están ofertando un promedio de $32 USD por este trabajo
Hi,
I have read your requirement and will be able to deliver in 4 hours.
As mentioned your project details:
1. It should delete the Redis database 0
2. Free the memory if it is less then 1GB.
All source code will be given to you upon project completion without any kind of encryption so you can make changes or extends the application later as require.
I can start this immediately if you are in hurry. I'm available now if you have any question.
Regards,
Gab
Hi, I have good experience in Linux and backend programming using python and PHP.
I carefully read the description of project and want to discuss more about the project.
Waiting for your response.
Thanks,
From Girish